masquerade - add extra private net
This is my current routing:
Code:
[root ~]# route -n What private LAN addresses can I use? 10.8.1.x? How do I add that to the routing? Also, I have this routing in ioptables, so how do I get the pptp port to be redirected? Code:
-A PREROUTING -d 88.xxx.xxx.xx9 -p tcp -m tcp --dport 1723 -j DNAT --to-destination 88.xxx.xxx.xx9:1723 -A POSTROUTING -s 10.8.1.0/255.255.255.0 -o eth0 -j MASQUERADE |
anyone?
|
anyone?
|
no need to push/bump up , if need to wait mean have to wait
may i have another work arround for your issue install virtualbox or any virtual , connect this to vpn server then make this to become gateWay to your lan so any network pc in your network use this gateWAY will become part off vpn client user its better than you messs your up routing |
Quote:
|
just give a try
-A POSTROUTING -s 10.8.1.0/255.255.255.0 -o tun1 -j MASQUERADE and one of my setting is like this below $IPT -t nat -I PREROUTING -p udp -d 202.191.200.142 --dport 1723 -j DNAT --to 192.168.68.68:1723 maybe you can figure out , i did openvpn server under xen cluster vlan |
Quote:
-A POSTROUTING -s 10.8.1.0/255.255.255.0 -o eth0 -j MASQUERADE Could this be a problem? -A FORWARD -i ppp+ -o eth0 -j ACCEPT -A FORWARD -i eth0 -o ppp+ -j ACCEPT |
All times are GMT -5. The time now is 12:04 AM. |