Networking Forums

Networking Forums > Computer Networking > Linux Networking > routing all traffic for port 80 via vpn connection? (newbie problem..)

Reply
Thread Tools Display Modes

routing all traffic for port 80 via vpn connection? (newbie problem..)

 
 
James Stone
Guest
Posts: n/a

 
      07-12-2004, 12:35 PM
I have a vpn connection set up using the linux pptp client software.
At present, the routing table is set up to route all traffic through
the pptp interface (ppp1). I have been struggling hard with iptables
to try to route only outgoing web traffic through the interface.

I have installed the ROUTE patch for iptables, and tried the
following:

iptables -A POSTROUTING -t mangle -p tcp --dport 80 -j ROUTE --oif
ppp1 --continue

but this just disables access to the web completely.

I am sure I am doing something very stupid, but I don't entirely
understand gateways, interfaces etc. and iptables is new to me (my old
setup used just the route command).

Any help or advice would be gratefully received.

James
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win2003 R2 server just stops routing traffic until I restart Routing service Martijn Tonies Windows Networking 8 11-03-2008 11:05 AM
Server 2003 - Port 80 Traffic Problem ZipSysAd870 Windows Networking 1 04-19-2008 12:58 PM
Newbie simple LAN routing problem David Hartry Windows Networking 3 07-21-2005 11:39 AM
VPN and Traffic Routing Mansoor Windows Networking 3 09-17-2004 04:20 PM
routing problem: how do i balance the traffic? Angus Parvis Linux Networking 2 05-20-2004 03:19 AM



1 2 3 4 5 6 7 8 9 10 11