Linux - NetworkingThis 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.
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.
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?
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).
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
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.
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.
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?
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.
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?
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.