Support
Forums

Re: How to setup a VM Gateway like Whonix but for a generic VPN

Ok, so it's difficult to get "exactly" what you need from what you've written, but it sounds like you're using your machine as a gateway for machines on a private IP range, and you want the gateway to retain normal internet access and you want to provide NAT access to the private range through the gateway .. in which case you would want (in principle) something like this;

[code]version 6

# create a new table
# set the default route for the table to be eth0
# set the source for the table to be eth1
# comp...
Ok, so it's difficult to get "exactly" what you need from what you've written, but it sounds like you're using your machine as a gateway for machines on a private IP range, and you want the gateway to retain normal internet access and you want to provide NAT access to the private range through the gateway .. in which case you would want (in principle) something like this;

[code]version 6

# create a new table
# set the default route for the table to be eth0
# set the source for the table to be eth1
# comp...