Author Topic: Redirecting certain network traffic based on URL  (Read 3606 times)

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Redirecting certain network traffic based on URL
« on: July 05, 2012, 06:38:08 am »
I have a std LMCE setup (external - core/hybrid - internal) network.  what I want to do is redirect certain traffic from the internal and core/hybrid that is bound for the internet through a VPN and the rest of the traffic via the normal route.  What is the best way to do this?

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Redirecting certain network traffic based on URL
« Reply #1 on: July 05, 2012, 09:13:20 am »
If really URL, I would use a proxy. If it is IP address, I would use route.

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: Redirecting certain network traffic based on URL
« Reply #2 on: July 05, 2012, 05:01:32 pm »
It would be URL.  Are the software components already there to do this or do I need to add something?  Can you direct me to the relevant config files or tools?

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Redirecting certain network traffic based on URL
« Reply #3 on: July 05, 2012, 05:14:54 pm »
and software proxy should be able to do that. Look at Squid, if you want the most known one.

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: Redirecting certain network traffic based on URL
« Reply #4 on: July 11, 2012, 07:08:30 am »
for anyone following this there is a wiki page for Squid:

http://wiki.linuxmce.org/index.php/Squid

not sure if I need a VPN client or how I direct certain traffic over a VPN while the rest goes directly to the Internet, anyone have any ideas?