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

Tom Pusateri pusateri at bangj.com
Sat Jun 7 17:31:11 UTC 2014


I've seen this setup with IPv4 before when the ISP does native IPv6. Maybe you can get global IPv6 addresses and can SSH directly over that. If not, at least go on record requesting IPv6 with your provider to push them along.

Tom



> On Jun 7, 2014, at 10:12 AM, None Secure via freebsd-net <freebsd-net at freebsd.org> wrote:
> 
> 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 ?
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


More information about the freebsd-net mailing list