DD-WRT bypass PPTP for certain protocols/ports

Posted on 2011-09-28
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: 

Question by:dbestcomputers
1 Comment
LVL 77

Accepted Solution

arnold earned 500 total points
ID: 36814371 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
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…
After creating this article (, 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…

776 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