Improve company productivity with a Business Account.Sign Up


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
1 Comment
LVL 82

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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
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…

608 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