Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ make

Example
-------
```
```bash
iptables -t nat -N VSOCKS
iptables -t nat -A VSOCKS -p tcp -j REDIRECT --to-ports 12345
iptables -t nat -A PREROUTING -s 10.42.0.0/24 -p tcp -j REDIRECT --to-ports 12345
# where 0.42.0.0/24 is wifi subnet
vsocks 0.0.0.0 12345 socks-proxy-addr socks-proxy-port
vsocks 0.0.0.0:12345 <socks-proxy-addr>:<socks-proxy-port>
```

To setup Socks5 Server you could use another project here: axproxy
```
```bash
axproxy socks-proxy-addr:socks-proxy-port
```

Expand Down