Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
server setup question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
artworcs
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2005
Posts: 126

PostPosted: Wed Nov 23, 2005 2:37 pm    Post subject: server setup question Reply with quote

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
View user's profile Send private message
slam_head
Guru
Guru


Joined: 06 Jan 2003
Posts: 449
Location: New York City

PostPosted: Wed Nov 23, 2005 4:35 pm    Post subject: Reply with quote

You could use a firewall with port forwarding, although it will probably be a P.I.T.A. to set up.
Back to top
View user's profile Send private message
artworcs
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2005
Posts: 126

PostPosted: Thu Nov 24, 2005 11:34 am    Post subject: Reply with quote

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
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Thu Nov 24, 2005 12:01 pm    Post subject: Reply with quote

applications should speak socks protocol (CONNECT, BIND, etc)
u can't have this transparently.
Back to top
View user's profile Send private message
artworcs
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2005
Posts: 126

PostPosted: Thu Nov 24, 2005 12:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Thu Nov 24, 2005 1:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
artworcs
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2005
Posts: 126

PostPosted: Fri Nov 25, 2005 7:03 pm    Post subject: Reply with quote

How does squid get the information to where to connect when using it transparently? Something in the http headers? w
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Fri Nov 25, 2005 7:25 pm    Post subject: Reply with quote

yes
_________________
When all else fails, read the instructions.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum