1
vote
1answer
267 views

Dnat prerouting does not work on Ubuntu 14.04

I've got a Ubuntu 14.04 server used as firewall, router, dhcp, dns and proxy. Everything works properly from inside to the internet, but the forwarding from outside to the inside network doesn't work. ...
7
votes
1answer
265 views

How to disable NAT for IPv6 (NAT66)?

The current Ubuntu LTS does not support NAT tables for IPv6 (i.e. there is no ip6tables -t nat), and I'm fine with that, in fact, a NAT-less environment is the "core" of my networks. But, the next ...
0
votes
0answers
139 views

How to do NAT from server with USB 3G modem internet access?

Firstly, apologize me for confusing you guys with the tittle. I'm learning Ubuntu Server at my school (currently: configuring NAT, and DNS server). Sometime, I need to practice things which my master ...
0
votes
0answers
236 views

Foraward Traffic from local machine to proxy server using iptables

I am using Ubuntu Server 12.04. My IP is 192.168.4.160. I want to route the HTTP traffic generated locally from my system destined to a particular URL (say x.x.x.x) to pass through proxy server. My ...
0
votes
0answers
79 views

Network translation related - Linux Ubuntu 12.04

I have nat problem. Step 1: I have two machines (192.168.100.128) and other (192.168.100.129). They have a default gateway as 192.168.100.1. Step 2:I have another machine that has an IP of ...
0
votes
1answer
579 views

Ubuntu 12.04 LXC nat prerouting not working

I have a running Debian Wheezy setup I copied exactly to an Ubuntu 12.04 ( elementary OS, used as desktop as well ) While the Debian setup runs flawlessly, the Ubuntu version dies on the prerouting ...
1
vote
1answer
126 views

NAT forwarding not working

I tried to set up forwarding from eth0 to wlan0 in ubuntu: echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -F iptables -F iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE iptables -A ...
0
votes
1answer
208 views

redirect traffic from 2 Ubuntu external NICs to specific internal hosts

I am having problems redirecting incoming traffic to 2 external facing interfaces on my Ubuntu 12.10 server to 2 separate internal hosts. I am able to redirect incoming traffic on my eth0 just fine to ...
1
vote
1answer
1k views

Log destination IP with iptables

I want to log destination IP addresses in my Ubuntu router. I have two network cards eth0 - 10.0.101.254 eth1 - 10.0.101.253 10.0.101.254 is the GW for all hosts on my network. The router ...