0
votes
1answer
241 views

How do I Reject all SMTP traffic except from a specified IP Block using DD-WRT?

I am running DD-WRT v24-sp2 std firmware on a Linksys WRT54GL. I have a port forward configured on port 25 to ip 10.10.10.1. What I want to do is allow this port forwarding, but only from WAN IP's in ...
0
votes
0answers
75 views

how to forward pgadmin request via another box with iptables

I have two remote Linux boxes. I can access box1 directly but need to ssh into box2 from box1. What I am trying to accomplish is use iptables to forward request from pgAdmin to box2 via box1. I.e. I ...
1
vote
2answers
146 views

Port forwarding, iptables apt-get not working

I'm currently setting up my server. I use proxmox which similar to vmware. Important thing to know is that i only have 1 external IP address. On my server, I forward port 80 and 443 to virtual host ...
0
votes
0answers
13 views

Fedora Core 17 network interface names set weirdly, won't reset via documentation [duplicate]

Possible Duplicate: Fedora 17 ifconfig eth0 returns an error message, why did linux change eth0 to em1? An interface was added to this Fedora Core 17 system long after installation and it ...
0
votes
1answer
1k views

iptables: Internal port forwarding with fwmark and routing tables

I have 2 servers and I need to forwart to internal port. To explain I use the server with 2 interfaces (internal/external) as server A and the internal server as server B. In server A i use ...
1
vote
1answer
177 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 ...
0
votes
1answer
102 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 ...
0
votes
1answer
361 views

IPtables and Remote Desktop with Proxy

So I setup a windows 2008 web server R2 on VirtualBox. Currently using Bridged Network. I can remote desktop to the machine hosting the VM (10.0.0.183) but cannot remote desktop to the VM itself ...
0
votes
2answers
2k views

openvpn port forwarding for SNAT or DNAT with Iptables?

I have managed to get openvpn setup and get it to issue static internal ips to clients. Now the trouble i have is I'm now trying to assign open port per client as they now have static internal ip it ...
1
vote
1answer
967 views

iptables port forwarding for active UDP connections

I am trying to set up port forwarding on UDP from port 12345 to port 54321 using the following: iptables -t nat -A PREROUTING -p udp -i eth0 -d 192.168.0.1 --dport 12345 -j DNAT --to ...
0
votes
1answer
292 views

IP Tables Port Forwarding

I have 4 servers behind a load balancer, but only 1 of them is running a particular service. I want three of them to forward requests to the fourth, based on the port. So, at present all 4 are running ...
2
votes
5answers
13k views

Linux: How to port forwarding with iptables between 2 hosts on different networks?

I'm almost desperate... I've been reading for about 2 days iptables forwarding examples and I cannot do a simple port forwarding. I got 2 machines on different networks. server1 (S1 with ip ...
1
vote
1answer
155 views

Simplest firewall does not work

I try to redirect ssh-traffic from one machine to other with following bash sctipt: IPTABLES="/usr/sbin/iptables" $IPTABLES -F $IPTABLES -X $IPTABLES -F -t nat ...
0
votes
1answer
482 views

iptables redirecting for specific ip to port 8080

My PC has two IP addresses. How can I forward incoming requests on port 80 to 8080 from one of my IP using iptables in CentOS ? For example, I have ip addresses 1.1.1.1 and 2.2.2.2, I want to forward ...
0
votes
1answer
284 views

Linux iptables usage route outgoing traffic

Hi: I have a problema, i want to enter a site that blocks by default all ips, except some ones, my server ip is not allowed, but i have another server ip allowed, so i have done a local ssh port ...
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
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/ ...
0
votes
1answer
842 views

Redirect local service to custom proxy

I'm trying to create a custom proxy program but I have a problem. My program connects to a fixed port from a random port and I need to tunnel all this traffic by my local proxy. I think the solution ...
1
vote
4answers
4k views

apache listening on 80, but not on any other port

i wanted to change a working apache configuration of example.com (exampleIP = 1.2.3.4 ) to change from the default port 80 to port 8001, such that http://example.com:8001 should work. I wasn't able to ...
36
votes
4answers
94k 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 ...