Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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: 

Question by:dbestcomputers
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
LVL 79

Accepted Solution

arnold earned 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
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…

715 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