View previous topic :: View next topic |
Author |
Message |
artworcs Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1705716293442e436979a9e.jpg)
Joined: 12 Jun 2005 Posts: 126
|
Posted: Wed Nov 23, 2005 2:37 pm Post subject: server setup question |
|
|
I was wondering how can i set up a gateway if the server connects to the internet through a socks5 proxy? I don't want the other machines to use a proxy, but to transparently forward all the data to the proxy server and back. I need this not only for http, but for telnet and other services to. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
slam_head Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/12041246593e397dd37c54c.gif)
Joined: 06 Jan 2003 Posts: 449 Location: New York City
|
Posted: Wed Nov 23, 2005 4:35 pm Post subject: |
|
|
You could use a firewall with port forwarding, although it will probably be a P.I.T.A. to set up. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
artworcs Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1705716293442e436979a9e.jpg)
Joined: 12 Jun 2005 Posts: 126
|
Posted: Thu Nov 24, 2005 11:34 am Post subject: |
|
|
I really need this, so if you could specify how to do this, at least the theory, to know where to start. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
makoomba Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/54100765943a2d293cd61e.jpg)
Joined: 03 Jun 2004 Posts: 1856
|
Posted: Thu Nov 24, 2005 12:01 pm Post subject: |
|
|
applications should speak socks protocol (CONNECT, BIND, etc)
u can't have this transparently. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
artworcs Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1705716293442e436979a9e.jpg)
Joined: 12 Jun 2005 Posts: 126
|
Posted: Thu Nov 24, 2005 12:25 pm Post subject: |
|
|
I understand one can do transparent proxy with squid. But can one use this for other protocols as well, not just http? I'm thinking of ssh, telnet...
PS: the server can run any kind of proxy/tunnel, but CAN'T DO NAT! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
makoomba Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/54100765943a2d293cd61e.jpg)
Joined: 03 Jun 2004 Posts: 1856
|
Posted: Thu Nov 24, 2005 1:40 pm Post subject: |
|
|
transparent proxying works with squid (http/ftp) because the application do not have to modify the way it connects to remote sites.
SOCKS requires clients to speak socks protocol, so they have be aware of the proxy. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
artworcs Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1705716293442e436979a9e.jpg)
Joined: 12 Jun 2005 Posts: 126
|
Posted: Fri Nov 25, 2005 7:03 pm Post subject: |
|
|
How does squid get the information to where to connect when using it transparently? Something in the http headers? w |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
makoomba Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/54100765943a2d293cd61e.jpg)
Joined: 03 Jun 2004 Posts: 1856
|
Posted: Fri Nov 25, 2005 7:25 pm Post subject: |
|
|
yes _________________ When all else fails, read the instructions. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|