Network address translation (NAT) is a network technique that allows that a public IP can be shared by many private hosts (machines).
Questions tagged [nat]
133 questions
51
votes
7 answers
What are the risks of NOT using a firewall (home computer)?
Since a password is required to be a superuser (to install and modify programs), what are the risks to not use a firewall under Ubuntu ? More particularly if I am using a NAT router ?
riimzzai
- 1,128
30
votes
3 answers
What's the difference between PREROUTING and FORWARD in iptables?
I am trying to understand how this system works and I have problems to understand the difference between using NAT PREROUTING or filter FORWARD.
From what I understand, the PREROUTE can send the packet to another server, avoiding the filter. If NAT…
GheorGhe
- 413
25
votes
6 answers
Virtualbox DNS stopped working on upgrade to 12.10
I have a Debian image setup on Virtualbox that uses the default NAT to access the internet. It was working fine before I upgraded to 12.10. After I upgraded the DNS lookups no longer work. I still can access ip addresses, but this is not a nice…
null_radix
- 924
21
votes
4 answers
No Internet Access on VMs in NAT Network in VirtualBox
I have created a a NAT Network in VirtulBox 5 In Ubuntu 14.04 LTS with following settings
Natework Name : NatNetwrok1
Network CIDR: 10.0.2.0/24
Support DHCP :enabled
Support IPv6 :disabled
without any port forwarding
Additionally I have two VMs…
ehsan
- 311
- 1
- 2
- 3
10
votes
2 answers
Configuring Ubuntu vmware guest NAT
I have a Windows host that runs guest Ubuntu VM via vmplayer. That virtual machine will be cloned, distributed among several people (running Windows hosts) and used for conducting a programming workshop. I am trying - and so far failing - to setup…
malenkiy_scot
- 203
9
votes
2 answers
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 Ubuntu LTS will add support for IPv6 NAT tables and,…
ThiagoCMC
- 869
- 4
- 13
- 28
8
votes
3 answers
How to switch between network interfaces from console?
I've installed Debian in my VirtualBox (my host OS is Ubuntu). And there I configured two network interfaces: eth0 as NAT, and eth1 as Bridge.
NAT I need to have access to the internet in virtual OS, but Bridge I need because I want this virtual OS…
7
votes
2 answers
Configure Nat in Ubuntu 12.04
I want to configure NAT for my network of 10 computers so that the data is transmitted via a single pc.
Can anyone give a good tutorial for it?
Tarun
- 4,275
- 15
- 53
- 74
5
votes
2 answers
NAT using iptables on Ubuntu 16.04 doesn't work
I used to use Ubuntu 14.04 trusty for our NAT server (build on Google Cloud Platform), but recently I tried to use the Ubuntu 16.04 xenial.
I configured perfectly same as I've done in 14.04, but it DOESN'T WORK as NAT server. The only difference is…
5
votes
1 answer
Accessing a LAMP webserver that's behind a Ubuntu VM acting as a firewall
I currently have two VM's set up in the following manner:
/-----------------------\
/-----------------\ | Ubuntu VM | /---------------\
| Workstation |------| eth1 : 192.168.0.x …
user3593245
- 51
5
votes
0 answers
Using Ubuntu 14.04 as router with iptables, clients can't go online. Probably DNS issue, iptables setting needed
CORRECTION 3: SOLVED! I needed to add the the official DNS server of my departement's VLAN as DNS to the clients.
I've read through a large number of posts about iptables issues when using Linux as a router, but none could help me with the…
zerweck
- 150
5
votes
1 answer
sharing internet between network interfaces
I have a laptop with lubuntu 11 with two network interfaces, wireless and wired. Wireless interface connects to the router with DHCP and provides access to the internet. The wired interface has a staic ip address from a different range for internal…
Ma99uS
- 185
5
votes
1 answer
how to connect to a remote desktop behind a router?
Here's my setup: I have a laptop that I roam around everywhere with, and I have a desktop computer at home that is connected to the web using a router with NAT.
My objective here is to create an SSH server which I can use for the purpose of file…
amol.kamath
- 59
3
votes
1 answer
Make a machine a NAT router
I would like to create the following network:
Internet ---- Host machine ---- VM1 ---(local network)-- VM2
with VM1 acting as a NAT router.
VM1 and VM2 run Ubuntu via VirtualBox.
To achieve this, I created a local network 192.168.46.x for VM1…
manuch100
- 71
- 1
- 1
- 6
3
votes
2 answers
How can I solve an Xbox 360 'NAT Moderate' issue if I don't have access to the router?
After finally managing to get my Xbox 360 to connect to live, I've run into the "NAT moderate" issue.
First of all here's my setup...
wireless broadband >(usb)> laptop ubuntu 11.10 >(ethernet)> xbox 360
I've read a lot of forums solving the NAT…
Matthew Wilson
- 855