iptables disallow nat by source

drop/reject are not allowed in nat, so, forward to other port if source matches.

iptables disallow nat by source by @sskaje: https://sskaje.me/2016/08/iptables-disallow-nat-source/

EdgeRouter DNAT for Remote Socks Proxy Server

I set up an HAProxy for socks 5 proxy server on my edgerouters, listening on 0.0.0.0:31080, forwarding to proxy server tunneled at 10.99.99.2:31080. You can find it: UBNT VPN + Socks5 代理.

I chose this because of failure on setting destination NAT.

The BAD thing is, HAProxy DOES NOT SUPPORT UDP. If I set foxyproxy resolving names from remote, connections are lost.

I tried many many times, and find out why I got failed setting DNAT.

Continue reading “EdgeRouter DNAT for Remote Socks Proxy Server” »

EdgeRouter DNAT for Remote Socks Proxy Server by @sskaje: https://sskaje.me/2016/06/edgerouter-dnat-remote-socks-proxy-server/

Set up Port Proxy for Google

I found some ways making most of google’s services working in my working place, but not for google docs, google drive, google plus…

I got a VPS somewhere, windows 2003, which is quite easy creating a port proxy.

Steps:
Make sure you have 443 port not in use.

Install IPv6

To make the portproxy work on windows 2003, IPv6 must be installed, even for a v4 to v4 proxy.

Create the portproxy

Syntax can be found here: Netsh commands for Interface Portproxy

Check if port is open

After the add operation, check if the 443 port is open using:

Delete the portproxy

Same syntax as above.

Create portproxy on Port 80

Set up Port Proxy for Google by @sskaje: https://sskaje.me/2014/06/set-port-proxy-for-google/