NAT, Rules, and VPN
-
I'm using NAT to forward everything from my LAN to TrustZone. It works fine. I'd like to be able to use rules to forward several individual links (by IP) directly to my WAN interface without going through TrustZone. Please advise.
-
Why do you use NAT in the first place, what is TrustZone.
@Amp911 said in NAT, Rules, and VPN:
Please advise.
Start over with a fresh install.
-
@Amp911 said in NAT, Rules, and VPN:
. I'd like to be able to use rules to forward several individual links (by IP) directly to my WAN interface
You can forward packets to an IP and a port, but not to an interface. Do you mean, to the WAN IP?
And if what's the benefit? Is your WAN listening for services?
-
@viragomann My apologies, TrustZone is a VPN/Gateway. All the outbound traffic is routed/NAT'd out that way. Some web sites don't like when you hide your IP/Location. So I have rules setup for each of them, but everything gets routed to TrustZone. My LAN is a class-C private network.
-
@Amp911
So presumably the VPN is your default gateway.
Then you need a policy routing rule to route the certain IPs to WAN.Put all the concerned destination IPs into an alias.
Then add a rule to the top of the LAN rule set with the alias as destination, open the advanced options and at gateway select the WAN gateway. -
@viragomann It took a full power off, reboot. But all is well. I will try the alias as you suggest, that seems cleaner than 50 rules. Thank you!!
-
@Amp911 said in NAT, Rules, and VPN:
It took a full power off
You mean : you used :
as taken off the power like that is very ( !) bad.
-
As in, Halt System. Then push the power button to turn back on.