Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, I have the following question. Currently my WAN traffic for all clients is going through eth1. What do I need to do if I want all WAN traffic ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    1

    How to sent WAN traffic through eth0 or ppp0 depending on client


    Hi all,


    I have the following question.

    Currently my WAN traffic for all clients is going through eth1.

    What do I need to do if I want all WAN traffic continue to go through eth1 with the exception for Client 192.168.x.x which should send its internet traffic through the ppp0 tunnel?



    Thanks for your help / Nick

  2. #2
    Linux Engineer Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    773
    iptables together with route and routing tables should allow you to redirect outgoing packets to a specific wan port. I've never done that before, thus I cannot give a straight forward answer how it can be done. However, googling gives this link:

    networking - Only allow certain outbound traffic on certain interfaces - Unix and Linux - Stack Exchange

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •