Source address in iptables Masquerade/NAT | pressku.com

Trending 1 month ago

I'm trying to instal OpenVpn connected a distant Ubuntu 20 server and americium pursuing this tut. I'm capable to measurement done it but cannot find wherever this root reside is successful its example:

$ sudo iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE

The table, Appending, outgoing interface I person figured out. But I want to understand what nan root addy is expected to be. If it was nan IP addy of nan eth0 port, past it would make consciousness to beryllium a azygous addy. But this is simply a range. Perhaps it's a achromatic database of allowed customer addy's? Reading different posts present don't see a root address/range but those posts whitethorn not beryllium mounting up a backstage VPN server. Thx for reading.

More
close