nickolasm5
Occasional Visitor
Hi I've set up a PPTP client that connects from a remote site (192.168.7.0) and gets IP 10.8.20.0
I've setup a script that adds route ip route add 192.168.7.0 via 10.8.20.0 on firewall startup, and everything works
Yet I noticed that if for some reasons there were reconnect of that client this route disappears, and expectedly doesn't appear
Is there a way to semhow set up the script ro run on pptp reconnect, or to check if the route exists periodically and add it?
BTW, I've tried to add this route via GUI, but it doesn't even show in the routing table. (I've used VPN in the interface options) Sould it work at all? Maybe I should use LAN or MAN in the interface option?
I've setup a script that adds route ip route add 192.168.7.0 via 10.8.20.0 on firewall startup, and everything works
Yet I noticed that if for some reasons there were reconnect of that client this route disappears, and expectedly doesn't appear
Is there a way to semhow set up the script ro run on pptp reconnect, or to check if the route exists periodically and add it?
BTW, I've tried to add this route via GUI, but it doesn't even show in the routing table. (I've used VPN in the interface options) Sould it work at all? Maybe I should use LAN or MAN in the interface option?
Last edited: