127.0.0.1 is allowed
I do have "Allow 127.0.0.1" if you look at my first post. And I can access the website hosted by my gateway machine. I feel like maybe my iptable doesn't forward my http request outside the LAN. I'm a novice on iptables.
In tinyproxy.log, I could see:
CONNECT ... Connect (file descriptor 7): [192.168.1.1]
CONNECT ... Request (file descriptor 7): GET http://google.com/HTTP/1.1
INFO ... No proxy for google.come
ERROR ... opensock: connect() error "Connection refused".
INFO ... Not sending client headers to remote machine
This is what's in tinyproxy.log when I tried to browse the website hosted on 192.168.1.1:
CONNECT ... Connect (file descriptor 7): [192.168.1.1]
CONNECT ... Request (file descriptor 7): GET http://my.dyndns.org/HTTP/1.1
INFO ... No proxy for my.dyndns.org
CONNECT ... Established connection to host "my.dyndns.org" using file descriptor 8.
INFO ... Closed connection between local client and remote client
I feel it must have something to do with the iptable set in my firewall.sh.
Reply to: