The tag has no wiki summary.

learn more… | top users | synonyms

37
votes
4answers
100k views

How can I port forward with iptables?

I want connections coming in on ppp0 on port 8001 to route to 192.168.1.200 on eth0 on port 8080 I've got these two rules -A PREROUTING -p tcp -m tcp --dport 8001 -j DNAT --to-destination ...
0
votes
2answers
1k views

iptables redirected port 80 to 8080 - How to disallow direct access to port 8080?

I've routed all requests from port 80 to port 8080 for my Tomcat server using iptables. iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 Now http://mydomain.com/ ...
3
votes
3answers
3k views

How do I configure my router under another to avoid NAT issues?

I'm sorry if this has been answered before; I tried looking but couldn't find a solution. I'll try and explain as clearly as I can. I've recently purchased a Rogers Mobile Rocket Hub and it's ...
2
votes
1answer
180 views

Port forwarding my home server problem [closed]

I'm trying to set up my laptop as a server for fun. I got XAMPP, and am running Apache server. I know it's working, because when I got to localhost, it correctly displays my index.html. If I go to ...
1
vote
1answer
180 views

openvpn& iptables — portforwarding and gateway

The problem is similar to this scenario: iptables rule still take effect after deleted Scenario: There are several clients(C1~C10) providing some services, such as SSH,HTTP..... The clients are ...
1
vote
1answer
4k views

iptables https transparent proxy with privoxy?

So I have a privoxy running (on port 8080) on a box acting as a router. My goal is to route all HTTP & HTTPS traffic through privoxy on there. HTTP works with the following command iptables -t ...
0
votes
1answer
108 views

iptables rule still take effect after deleted

Scenario: I built a server(S) with openvpn. And there might be several vpn clients(C1~C10) providing SSH/FTP/HTTP behind "S" Several users(U1~U10) on internet will login through 'S' to access their ...