The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Socks-depending packet routing
Author: Andrey Shekhovtsov 
Date:   22-09-00 09:07


I'm new to FreeBSD. I need your help to configure the router on my
FreeBSD mashine. Could you give me an example of ipfw and socks5
configurations which will meet the following requirements:
My network scheme is as follows:
| Internal network |
| FreeBSD firewall |
| with Socks5 proxy |
|| || ====> Expensive fast Internet provider
|| ||
|| ===========> Free slow Internet provider
==================> External department

I need to route all the traffic through my firewall to the free Internet
provider, and allow users to use the expensive line if necessary only
when they connect to the socks proxy using login and password.
In addition, it's necessary to allow all queries to our external department
without any limitations.
I heared that it may be done using the "fwd" rule of ipfw. But I don't
know, how to configure it.
If you can offer me the configuration for this scheme, I'll be grateful.

Waiting for your answers,
With best regards,
Andrey Shekhovtsov

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 

 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum