Hi All, noob here ![]()
found a CCR-1016-12G for very cheap, heard excellent reports so I purchased...
My situation is that as the topic says, I want to route or NAT (not sure which one it should be) a specific internal IP's (10.0.0.128/24) traffic over the L2TP VPN I have set up. The L2TP link establishes fine and gives me a 10.10.X.X address (so I'm pretty sure it's NAT that I need due to it being a private address range, but then I'm faced with double NAT I think, one from the VPN provider, and one from me). The gateways vary, as do the subnets that I get assigned.
What I can't work out is how to get the 10.0.0.128 traffic to get pushed to the VPN and the return path as well..
I've marked the traffic with mangle with the following entry:
0 chain=prerouting action=mark-routing new-routing-mark=via-VPN passthrough=yes src-address=10.0.0.128Routing table:
DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 PIA VPN 1
1 ADS 0.0.0.0/0 [ISP GATEWAY] 1
2 ADC 10.0.0.0/24 10.0.0.254 LAN 0
3 ADC 10.10.1.1/32 10.10.1.2 PIA VPN 0
4 ADC [ISP SUBNET] [ISP ADDRESS] WAN 0(PIA VPN is the label/name given to the L2TP VPN)
I've fumbled around with routing the traffic to no avail, and the same with NATing the traffic...
What I can't work out is the next steps...
Any help would be greatly appreciated!
-Yogo