What's new

how to add such a static route in the web interface ?!

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

CrashXRu

Occasional Visitor
how to add such a static route in the web interface

route -n add -net 192.168.99.0 netmask 255.255.255.0 ppp5

you need to see the network for nat when connected via pptp vpn

it is inconvenient to execute this command every time I connect to vpn
 
Incase it helps, I added a static route in the OpenVPN client config from my router (192.168.1.1) to my modem (192.168.8.1) in order to work with 'force internet traffic through tunnel: yes', by adding this line at the end of the custom config:

route 192.168.8.1 255.255.255.255 net_gateway
 
you did not understand,
I need to add a route using the web interface
how to do it in the SSH know

BUT
Linux has such options
ip-up-script / tmp / ppp / vpnc-ip-up
ip-down-script / tmp / ppp / vpnc-ip-down
ip-pre-up-script / tmp / ppp / vpnc-ip-pre-up
auth-fail-script / tmp / ppp / vpnc-auth-fail


but in the router there is no such possibility

I also can't figure out how to add static routes to the web, the ones that I write with my hands in the ssh
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top