Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-14-2005, 07:57 PM
|
#1
|
Member
Registered: Mar 2004
Distribution: Debian
Posts: 35
Rep:
|
Tunneling Through a Firewall
Hello. I'm running Windows XP Pro and Ubuntu 5.04 on my home comp. I have a pretty restrictive firewall on my network that stealths all ports as far as I can tell. I can only connect out through ports 21, 22, 80, and 443.
I also rent a linux (CentOS4.1) server.
I'm looking for a solution that I can setup a tunneling proxy so that I can route ALL (as in not just socks and such aware things, but games and such) traffic to my server and then to the net. I've been having very bad luck getting SOCKS5 to do any of this (the NEC socks won't make, Dante for some reason when I start doesn't show up). So I'm wondering if anyone knows a alternate solution I can use, or maybe even just a better socks implimentation?
Thanks for you help .
|
|
|
09-15-2005, 12:17 AM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Since you can go out on port 22, why not ssh tunnel your traffic out to some proxy? I do this through dante on my home network (tunnel AIM from work for privacy).
|
|
|
09-15-2005, 05:07 AM
|
#3
|
Member
Registered: Sep 2005
Posts: 33
Rep:
|
Quote:
Originally posted by Matir
Since you can go out on port 22, why not ssh tunnel your traffic out to some proxy? I do this through dante on my home network (tunnel AIM from work for privacy).
|
ssh is secure and the firewall would pick this up and block it, instead use 443 as this is the same type of protocol and the proxy wont know the difference, remember to set a redirect on your home router for this as well 
|
|
|
09-15-2005, 10:35 AM
|
#4
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Quote:
Originally posted by server-solution
ssh is secure and the firewall would pick this up and block it, instead use 443 as this is the same type of protocol and the proxy wont know the difference, remember to set a redirect on your home router for this as well
|
What makes you think ssh would be blocked by his firewall? He specifically stated that port 22 is open on his firewall.
|
|
|
09-15-2005, 10:39 AM
|
#5
|
Member
Registered: Sep 2005
Posts: 33
Rep:
|
 Sorry didn't read it correctly, thought ssh was blocked 
|
|
|
09-15-2005, 11:00 AM
|
#6
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
It's cool.  Just making sure I wasn't missing something.
|
|
|
09-15-2005, 06:47 PM
|
#7
|
LQ Newbie
Registered: Aug 2005
Location: Manchester, NH, USA
Distribution: Gentoo/Ubuntu
Posts: 1
Rep:
|
If you are allowed, you could install something like OpenVPN on your rented server. This, of course, assumes that it is hosted off site.
OpenVPN is unique in that you can send traffic over any port you wish, it works on both Windows and Linux, AND it doesn't require any special protocol level knowledge/forwarding from the router or firewall (such as IPSEC, etc.).
Of course, you could also tunnel with SSH, but I've found that SSH can be a bit more troublesome. If your connection is terminated, SSH will not automagically try to reconnect. OpenVPN does.
just my $.02USD
|
|
|
09-15-2005, 07:11 PM
|
#8
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
SSH may not auto-reconnect, but overall, SSH is a much simpler mechanism for the tunneling. That being said, OpenVPN is a good suggestion as well.
|
|
|
09-20-2005, 08:44 AM
|
#9
|
Member
Registered: Mar 2004
Distribution: Debian
Posts: 35
Original Poster
Rep:
|
Alright I've tried to setup dante over my ssh without luck. I got squid to work great though, so no problems tunneling that.
Whenever I start dante with the sockd command it returns fine, but the process doesn't actually start... what's up with that? Any other socks implementations I can try?
|
|
|
09-20-2005, 08:53 AM
|
#10
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
You should probably be starting it using an init script. On my box, that's /etc/init.d/dante-sockd.
|
|
|
09-20-2005, 12:09 PM
|
#11
|
Member
Registered: Mar 2004
Distribution: Debian
Posts: 35
Original Poster
Rep:
|
When I do ./configure with dante I get this at the end:
Acceptlock: workaround enabled on this platform
Preloading: OK
SO_SNDLOWAT: not enabled for this platform
select: OK
Routeinfo: OK
Is not having SO_SNDLOWAT a problem? I googled it and wasn't really able to tell.
EDIT: Ok, now I'm getting somewhere. I installed the dante module on webmin to see if I could get it to start from there. When I try to start it through webmin I get this:
Start not successful
Error: 0, message: 256
Any ideas what that means?
The only dante related file i have in /etc/init.d/ is dsocksify. No sockd or dante in there.
Last edited by Jubalint; 09-20-2005 at 12:29 PM.
|
|
|
09-20-2005, 12:28 PM
|
#12
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
No, not having SO_SNDLOWAT is not problematic.
|
|
|
09-20-2005, 12:31 PM
|
#13
|
Member
Registered: Mar 2004
Distribution: Debian
Posts: 35
Original Poster
Rep:
|
Is there a way to just do a complete uninstall of everything dante related? I tried make uninstall and then reinstalling it but that didn't help. Are there any dependancy's for dante I might not be getting?
|
|
|
09-20-2005, 12:55 PM
|
#14
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
What happens when you try to install it? The SO_SNDLOWAT error will not go away. SO_SNDLOWAT is not implemented on Linux, as SNDLOWAT is always 1. (Defined in kernel)
|
|
|
09-20-2005, 02:22 PM
|
#15
|
Member
Registered: Mar 2004
Distribution: Debian
Posts: 35
Original Poster
Rep:
|
I have no trouble installing dante. No errors or other such things pop up. It just goes through and does make install fine.
|
|
|
All times are GMT -5. The time now is 10:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|