Go Premium for a chance to win a PS4. Enter to Win


DD-WRT bypass PPTP for certain protocols/ports

Posted on 2011-09-28
Medium Priority
Last Modified: 2012-08-13
I need to know what commands to use to set my newsgroup traffic (port 119) to bypass my PPTP VPN tunnel.  I am using VyprVPN for secure tunneling/browsing, but my newsgroup traffic is too heavy to tunnel, so I'd like anything on port 119 to bypass the PPTP tunnel and just hit the regular WAN.  There IS information to do this available, I was directed to follow howto's on "iptables" commands to change the routing, but I'm not very savvy with CLI.  The instructions I used to set up my PPTP tunnel are here: http://www.giganews.com/vyprvpn/setup/dd-wrt/pptp.html 

Question by:dbestcomputers
1 Comment
LVL 80

Accepted Solution

arnold earned 2000 total points
ID: 36814371
http://linux.die.net/man/8/iptables detail explanation of iptables

iptables -t nat -I PREROUTING 1 -p tcp -m tcp --dport 119 --to-destination `nvram get wan_ipaddr`-j DNAT

to remove make sure it is in the list
iptables -t nat -L PREROUTING --line-numbers
iptables -t nat -D PREROUTING 1

look at the  existing iptables prior to adding the above to see where the PPTP client's route is added
iptables -t nat -L

look at netstat -rn


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Will you be ready when the clock on GDPR compliance runs out? Is GDPR even something you need to worry about? Find out more about the upcoming regulation changes and download our comprehensive GDPR checklist today !
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question