What's new

PPTP client default gateway

  • 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!

Andrii

Occasional Visitor
Hi.
After making client PPTP session on my Asus RT-AC3200 the ppp interface making defaul gateway. But I need for default gateway stay my WAN connection. I can't found where is configuration file of pptp client on Merlin's firmware.
Can anybody help me fix this problem?

PS Sorry for my english :)
 
Hi.
After making client PPTP session on my Asus RT-AC3200 the ppp interface making defaul gateway. But I need for default gateway stay my WAN connection. I can't found where is configuration file of pptp client on Merlin's firmware.
Can anybody help me fix this problem?

PS Sorry for my english :)


Any body know how to configurate PPTP client on Merlin's firmware?
 
Hi.
After making client PPTP session on my Asus RT-AC3200 the ppp interface making defaul gateway. But I need for default gateway stay my WAN connection. I can't found where is configuration file of pptp client on Merlin's firmware.
Can anybody help me fix this problem?


Any body know how to configurate PPTP client on Merlin's firmware?

PPTP is Point-to-Point, so the fact that the default route is via the PPTP interface is by design and attempts to provide basic access security.

NOTE: Unlike OpenVPN, there is no PPTP equivalent of the 'route-nopull' directive to automatically force the use of the WAN when the PPTP client interface is established.

Configuration of the outbound PPTP connection is via the PPTP Client GUI and the variables are actually stored in NVRAM and can be examined/modified from a command prompt:

Code:
nvam show | grep vpnc

vpnc_pppoe_ifname=ppp5
vpnc_ipaddr=10.200.21.5
vpnc_pppoe_username=
vpnc_pppoe_passwd=
vpnc_pptp_options_x_list=<+mppe-128

etc.

So if you wish to bring UP the PPTP client but then restore the default routing to the WAN then issue:

Code:
ip route delete default via xxx.xxx.xxx.xxx dev ppp5

but unless you now manually configure Selective Routing (aka Split Tunnelling) then I'm not sure what you expect this route deletion to achieve?
 
Last edited:

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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