"Andreas Foehrenbach" <(E-Mail Removed)> wrote in message
news:c87jgf$5im$(E-Mail Removed)
> Question:
> How can I configure my Net, so one special Application (Moneyplex) on every
> PC does use the ISDN-Card for Internet-Dial-Up instead of the std. Router
> (GW)?
You can use advanced IP routing properties with the iproute software
in linux. You can specifically route special protocols due to the
TCP/UDP ports.
You also need to mark paquets with iptables to redirect traffic to
a special route.
You can read LARC to know more about these solutions.
An example for http:
Create a special routing table for http traffic
# echo 201 http >> /etc/iproute2/rt_tables
# ip rule add fwmark 80 table http
Add a special default gateway for this traffic
# ip route add default via 82.226.217.254 table http
And in iptables
To mark the http paquets
# iptables -t mangle -A PREROUTING -i eth0 -p tcp --dport 80 -j MARK \
--set-mark 80
and all your http traffic will now pass by a special default route
wich is 82.226.217.254 :-)
Hope this helps.
--
Posted via Mailgate.ORG Server -
http://www.Mailgate.ORG