0
votes
0answers
54 views

UDP packets are not reaching iptables NAT table

I'm trying to redirect UDP incoming packets to port 4000 to another IP with iptables: iptables -t nat -A PREROUTING -p udp --dport 4000 -j DNAT --to-destination 192.168.100.20 Unfortunately they ...
0
votes
1answer
62 views

iptables forwarding through virtual interfaces

I'm trying to configure my computer as a gateway between two networks, but I cannot make it working for some reasons Here is a representation of the network: 192.168.1.101 192.168.1.102 ...
0
votes
2answers
33 views

Forwarding all connections to different address

I have a script that tries to connect to rabbitmq using default url and port (localhost:5672). Is it possible to make linux redirect all connections to this url and port to different server? I am ...
0
votes
1answer
79 views

How to apply port forwarding with iptables on existing connections?

For load balancing purposes, occasionally our servers forward requests to a different port; The default port for our service is port 5000. This is the code used: iptables -t nat -A PREROUTING -p tcp ...
0
votes
1answer
307 views

How do I configure routing from host system to virtual machine?

I have an Ubuntu host system that is running a MAC-VLAN virtual interface on top of eth0 interface, ipv4 routing is enabled. Also, this system has a Docker (LXC) container running: docker0 Link ...
2
votes
1answer
307 views

Can't connect to instance via floating IPs, not natting/forwarding properly

I'm having trouble getting floating IPs to work properly on my OpenStack setup. It looks like the controller node (running nova-network) isn't forwarding the traffic to the instances. I've got a ...
2
votes
1answer
229 views

can't find a way to forward in iptables for specific mac address

I use a linux Centos 6.3 as an Internet gateway with NAT. I want to allow a specific host to have access to Internet, but I don't want to use its IP address since it may get a new IP address from the ...
1
vote
1answer
205 views

port forwarding to access services on servers behind NAT

I have some security camera systems in different locations, each location does have internet, the ISP is NATing all the IPs so theres no way to open ports to my systems. My solution was to rent a VPS ...
0
votes
1answer
203 views

limit rate of incomming connections to a nated host

I'm using this to rate limit and it works fine: /usr/sbin/iptables -A INPUT -p tcp --dport 80 -m recent --rcheck --seconds 60 --hitcount 2 --name WWW -j LOG --log-prefix "WWW " /usr/sbin/iptables -A ...
3
votes
0answers
573 views

Forwarding traffic from TUN device (C++ backend) to the default gateway

The following problem is just a piece of the bigger solution I have a problem with. All other elements seem working so far, so I'll try to describe very small piece which I have problem with. I've ...
0
votes
0answers
367 views

Bidirectional NAT using iptables

I want an Ubuntu server machine to act as a bidirectional NAT. It has 2 NICs, each connected to a different network. I want it to forward connections received on eth1 at certain ports to certain ...
3
votes
1answer
2k views

Vigor 2820 Router -Port Forward Not Working

We are trying to solve what should be a trivial problem! We have a DrayTek Vigor 2820 series ADSL router/firewall and we need to forward port 80 to a web-server. The box is connected to it's adsl ...
1
vote
1answer
554 views

cisco 1800 series NAT port forwarding for mail sending

I have centOS mail & web servers configured in a computer in LAN. My cisco router carries a external IP needs translation so that any request to my global IP at http port will be forwarded to my ...
4
votes
2answers
1k views

fwbuilder: port forwarding incoming 222 port requests to a local machine 22 port

I am using fwbuilder to setup my iptables rules for a public server. The idea is to forward external requests from the 222 port to a local machine's ssh port. The settings i used are: NAT section ...
2
votes
1answer
2k views

Address (url) forwarding with Vyatta

Got this kind of noob question i suppose. I got this very basic network setup and need help to set up some address forwarding. As seen in my illustration below all traffic enters via the eth0 ...
1
vote
1answer
438 views

iptables, nat and server in lan

I have several ip addresses, X.Y.Z.A - X.Y.Z.D, in one interface (eth1) X.Y.Z.A is my gateway, with NAT. This works. I want to access one computer in my LAN (eth0) (Q.W.E.R) from outside, from the ...