News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Redirecting certain network traffic based on URL

Started by Techstyle, July 05, 2012, 06:38:08 AM

Previous topic - Next topic

Techstyle

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?
Techstyle UK Ltd
[url=http://www.techstyleuk.co.uk]http://www.techstyleuk.co.uk[/url]

Techstyle US Inc.
[url=http://www.techstyleus.com]http://www.techstyleus.com[/url]

Marie.O

If really URL, I would use a proxy. If it is IP address, I would use route.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

Techstyle

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?
Techstyle UK Ltd
[url=http://www.techstyleuk.co.uk]http://www.techstyleuk.co.uk[/url]

Techstyle US Inc.
[url=http://www.techstyleus.com]http://www.techstyleus.com[/url]

Marie.O

and software proxy should be able to do that. Look at Squid, if you want the most known one.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

Techstyle

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?
Techstyle UK Ltd
[url=http://www.techstyleuk.co.uk]http://www.techstyleuk.co.uk[/url]

Techstyle US Inc.
[url=http://www.techstyleus.com]http://www.techstyleus.com[/url]