Ubuntu Socks proxy server

Thread: How to setup SOCKS5 proxy in Ubuntu with username and password? Please Help
How to set up a SOCKS proxy server on Windows 7 - Quora

Hi, I just started to use ubuntu a few days ago and I need to setup SOCKS5 proxy in my Ubuntu VPS. I found few article on google and one of the article work for me but that is not what i want.

Here is what i tried.
I use this command “ssh -N -D 0.0.0.0:1080 localhost” and then iptables.
iptables -A INPUT –src 1.2.3.4 -p tcp –dport 1080 -j ACCEPT
iptables -A INPUT -p tcp –dport 1080 -j REJECT

To allow socks proxy connection only to my ip address but problem is i have dyanmic ip address and i lost access to my socks proxy server when my ip changes. So is there any better way to install socks proxy server in ubuntu?

I also tried dante-server but i failed to configure it to make it work.
What i did in dante conf file is:

I uncommented following lines. I did not change anything else :

internal: eth0 port = 1080
external: eth0

method: username # DO i need to write something else on place of username?
user.notprivileged: nobody

client pass { # where to write pass and which pass?
from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
}

pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
protocol: tcp udp
}

But it did not work.

Okay here is what i want to acchive. I want to access my all ips address of my ubuntu vps as socks5 proxy from my firefox with username and password enabled on them so no one else can use my ip address without my permission.

Source: ubuntuforums.org


Related posts:

  1. Linux socks5 proxy server
  2. Squid Web proxy server
  3. Mobile Phones proxy server