Results 1 to 2 of 2
Hi, basically what I'm trying to do is to direct all outgoing connections on port 5678 to interface ppp0 (default interface is eth0)....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-01-2007 #1Linux User
- Join Date
- Jul 2004
- Location
- Poland
- Posts
- 368
Redirect port to interface
Hi, basically what I'm trying to do is to direct all outgoing connections on port 5678 to interface ppp0 (default interface is eth0).
"I don't know what I'm running from
And I don't know where I'm running to
There's something deep and strange inside of me I see"
- 08-06-2007 #2Just Joined!
- Join Date
- Aug 2007
- Posts
- 5
You could do this with iptables i guess:
iptables -A FORWARD --sport 5678 -i eth0 -o ppp0 -j ACCEPT
Something like that i guess, not sure at all...can someone confirm or correct me?


Reply With Quote
