Results 1 to 5 of 5
I have been looking around but obviously havent typed the right combo of words into google yet.
We have a system with a primary link through which most of our ...
- 11-13-2007 #1Just Joined!
- Join Date
- Nov 2007
- Location
- UK
- Posts
- 2
routing traffic based on port
I have been looking around but obviously havent typed the right combo of words into google yet.
We have a system with a primary link through which most of our traffic goes, however this is not controlled by us (and has some major limitations regarding blocked ports etc). We also have a DSL link which we would like to be able to send some traffic over.
We have managed using routing (on an IPCOP box) to send some stuff based on address range via the DSL but we would like to be able to send stuff out based on port. Is this possible? for example NTP for network time sync is currently blocked via our main provider so we would like all NTP requests to be routed via our DSL etc.
Cheers
Allan
- 11-13-2007 #2
I'm sure this is possible with any modern packet filtering firewall (e.g. iptables/netfilter), but to me it is much simpler to use something like rinetd.
It's easy to configure and will forward TCP traffic.
- 11-14-2007 #3Just Joined!
- Join Date
- Nov 2007
- Location
- UK
- Posts
- 2
that would forward connections made to our firewall to a to a specific port to another machine (which the firewall can already do) but what I am wanting to do is route any traffic on specific ports from inside our network our via a specific link.
- 11-14-2007 #4
I see what you're asking now.
Route internal client traffic based on external service port requested... no ideas.
- 11-14-2007 #5
A quick google for 'iptables route target' and I found this:
Netfilter Extensions HOWTO: New netfilter targets
See the ROUTE Patch section.
It's the first I've heard of it, but it sounds like it may meet your needs.
Good luck.


Reply With Quote
