Solved

DD-WRT bypass PPTP for certain protocols/ports

Posted on 2011-09-28
1
1,015 Views
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

Thanks!
0
Comment
Question by:dbestcomputers
1 Comment
 
LVL 76

Accepted Solution

by:
arnold earned 500 total points
ID: 36814371
http://www.dd-wrt.com/wiki/index.php/Iptables
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

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Migration from a Juniper to sonicwall issue 4 27
OSPF Routing Problems 9 64
pfSense IP Helper 4 91
Cisco Any Connect Client 5 15
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now