It is currently Wed, 22 May 2019 08:39:29 GMT

Author Message
 Trouble with natd
I've got FreeBSD 4.3 Release

I tryed to set NAT using handbook and man pages.
But it still doesn't work. Something wrong with my firewall I guess
What need I check in rc.firewall? Is anybody can help me to configure my natd?
Is anybody can explaine methodic to configure natd?

or send me url's where can I find tutorials...

Maxim Popov

 Mon, 29 Dec 2003 18:15:52 GMT   
 Trouble with natd

Just for testing have you tried to set your firewall to "open" in rc.firewall and
see if natd works? There are some conditions where natd & ipfw doesn't work well

 Mon, 29 Dec 2003 19:40:28 GMT   
 Trouble with natd

Well I'm not sure but I did next steps:

I add next two strings to my kernel:
options         IPFIREWALL
options         IPDIVERT

rebuild kernel

after that I add to rc.conf:

after that I created /etc/natd.conf with:
same_ports      yes
use_sockets     yes

next step in /etc/rc.conf:
natd_flags="-f /etc/natd.conf"

but I've got some trouble with interface ppp0 .... it doesn't work correct :(

so I'm very upset!


 Tue, 30 Dec 2003 01:39:48 GMT   
 Trouble with natd

Not sure about ppp but try adding this line to your /etc/rc.conf file:


Also have you added the following line to your ppp.conf file?

nat enable yes


 Tue, 30 Dec 2003 03:52:45 GMT   
 Trouble with natd

Thank you Eric!

I forgot write about gateway_enable="YES" but I have it in my rc.conf file

everything ok! :) I spent about 5 hours but now it's working!
and now I've got next headache - sendmail :) but I have a lot of tutorials...

and next stap will be squid configuring...

so... thank for you help!

 Tue, 30 Dec 2003 15:13:56 GMT   
 Trouble with natd

Happy to see that you get your NAT working! :-) Good luck with sendmail and don't
forget to read about the macro file. It will save you alot of time. For squid
proxy i strongly recommend that you get the package from the freebsd ftp site. Be
ready to spend alot of time to go trought his long laborious configuration
file... :-)

Why do you need to run NAT and Squid proxy on the same machine? It is only to
learn all that stuff?


 Tue, 30 Dec 2003 19:38:23 GMT   
   [ 6 post ] 

Similar Threads

1. NATD Troubles

2. trouble connecting to masquerading server-natd is ok

3. Heelp please... natd troubles

4. natd trouble

5. natd troubles with ftp

6. Trouble, trouble, trouble - SCSI ?

7. need help with natd error "natd[140]: failed to write packet back (no route to host)"

8. natd problem - natd[121]: failed to write packet back (Permission denied).

9. help i have trouble with x applicationhelp i have trouble with x application

10. HAving trouble setting up X [Trident Troubles]

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software