Can you create a FreeBSD gateway, with private IPs, without NAT/divert ?

None Secure none_secure at yahoo.com
Sat Jun 7 17:15:10 UTC 2014


Matthew,

Thanks for your response - I suspect that was the problem I was encountering (that the ISP will NAT for my external address) and that is why I switched to natd/divert, and it is indeed working properly.

So what is the problem ?  Well, the problem is I am trying to use sshuttle, which inserts it's own set of divert rules into the ipfw table ... so I have one natd_enable, and a set of divert rules ... and then we add another set of divert rules from sshuttle (which does not, btw, start it's own natd).

So when you say that I can NAT multiple times ... can I NAT multiple times on the same system ?  If I start a second natd (which sounds ridiculous to me) how does it know which set of diverts it is supposed to work on ?

Basically my system is working fine with natd/divert, but now I either need to make it work without natd/divert (so that sshuttle can do its own) or I need to find a way to use two sets of natd/divert ...

Comments ?


More information about the freebsd-net mailing list