Network address translation (NAT) is an network technique that allows that a public IP can be shared by many private hosts(machines).

learn more… | top users | synonyms

0
votes
0answers
2 views

Port forwarding with DNAT not working

I want to forward my local port 2221 to a remote machine (192.168.2.100), where ssh listens on port 2222. Connecting to the remote machine works: ssh -p 2222 192.168.2.100 user@192.168.2.100's ...
0
votes
0answers
17 views

How to ssh into a remote server which has a shared IPv4 (NAT)

Im running Ubuntu 16.04 LTS and I have tried using the information given on #man ssh But I am a little confused and I tried many times and got this message ssh: Could not resolve hostname w-: Name ...
0
votes
1answer
19 views

ubuntu guest system can't ping Window 8.1 host

I have a Window host 64bit 8.1 at home ( connecting to Internet via home router), I recently installed an ubuntu 32 bit guest on VM Windows player ( latest version) with NAT. ifconfig -a on ubuntu ...
-1
votes
1answer
26 views

Does rsync over ssh require use of UDP?

I have a remote rsync backup to a server running over ssh, using NAT to specify a non-standard high numbered port on the router. Is it ok to only open the port on the router, and the ssh port on the ...
0
votes
0answers
26 views

Access to white IP when VLAN is not default

I have Ubuntu 16.04. VLANs in NetworkManager. As per picture , I have 1 Eth interface and 3 VLANs, each with it's own GW. The default VLAN at the time is 5 (NAT). The other VLANs have white IPs ...
0
votes
1answer
129 views

How change Gateway of subnet ( private network, Internal) on MAAS

Ubuntu : 16.04 MAAS: 2.0.0 beta 3 I need to change the gateway address of my subnet( private lAN,Internal which is 192.168.120.1) to ip address of my region/rack controller( internal ip 192.168.120....
0
votes
0answers
221 views

MAAS 2.0 and Ubuntu 16.04 Node Enlist get connection error to Internet behind a NAT

OS: UBUNTU 16.04 MAAS : 2.0.0 beta 3 1 Node as region/rack controller 2 Nodes Nodes are behind proxy I defined NAT on my region/rack controller i defined proxy on MAAS GUI When nodes try to boot ...
5
votes
1answer
88 views

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 | /---------------\ ...
0
votes
0answers
39 views

How can I ssh to a server after running sshuttle?

I ran sshuttle on a server to Nat all of it's traffic behind a proxy server, so in this way I can hide it's IP address. But the problem is that I can not SSH to the server, as SSH will be behind the ...
0
votes
0answers
119 views

Setting up NAT forwarding using iptables on ubuntu server 14.04

I have a server with 2 ethernet interfaces(em1 and em2). em1 is the internet facing interface(192.168.16.113) and em2 has a static address(10.1.1.100) connected to a switch. I have configured the ...
0
votes
1answer
39 views

DNAT redirecting to specifc port is not working

I want to redirect ssh by port using DNAT, and i do try to ssh it through the command > username@IP_ADDRESS:10003, and I got this message: ssh: Could not resolve hostname IP_ADDRESS:10003: Name or ...
0
votes
1answer
54 views

Is it possible to define a fallback gateway server?

I'm using iptables to implement forwarding on one server, that is support to forward traffic from an internal network to the internet (tutorial: http://www.revsys.com/writings/quicktips/nat.html) On ...
3
votes
1answer
116 views

configure iptables to redirect traffic to a specific IP address

I have just began using iptables. I have a server with a public ip address (A.A.A.A) wich is hosting a Virtual Machine (B.B.B.B) on local network. I want to redirect all inbound traffic on the port ...
0
votes
1answer
65 views

How to resolve multiple hosts inside a NAT firewall

My apologies if this has been asked before, but I can't seem to find a complete solution. I have a hosted sub-domain at no-ip.com with a wildcard DNS option enabled. On my end I have a firewall port-...
0
votes
1answer
295 views

NAT port forwarding using iptable doesn't work

I have a server with Ubuntu Server and a Xubuntu virtual machine on it, virtualization software is virt-manager. Ubuntu Server IP: 172.16.63.140 Xubuntu Virtual Machine IP: 192.168.122.4 I can do ...
0
votes
0answers
70 views

How to perform NAT to DDNS provided ip address using iptables

I have a device connected to the internet via a 3G Cellular link. I can't get a valid static IP address for my connection due to the network operator rules. On the server side, the application which ...
0
votes
1answer
41 views

Monitoring tool for Ubuntu

I am running a Ubuntu server for NAT and DHCP services in my Office. What monitoring tool can be used to remotely monitor server performance, DHCP lease addresses, IP Lease statistics, monitor ...
0
votes
1answer
304 views

Ubuntu vmware workstation guest doesn't connect anymore after windows host update from 8 to 10

I'm using VMWare Workstation 11 to power a Ubuntu 15.04 virtual machine. My Host operating system was Windows 8 and the NAT connection from Ubunto to the Internet via my host system worked perfectly. ...
0
votes
0answers
101 views

Change virtual box ip from 10.2.x.x to 192.168.x.x

I have applications and xampp setup on virtual box with ubuntu 12. The ip address for virtual machine 192.168.x.x but after installing vmware ,ip change for virtual box to 10.2.x.x I want to change ...
0
votes
0answers
96 views

How To Name Resolve VirtualBox VMs Using NAT on a Windows Host?

I'm using Ubuntu on VirtualBox, I can SSH into it using Putty on my "Host Machine" with this command, after port forwarding. ssh -p2222 SomeUser@localhost Is there a way to register all my VMs IPs ...
2
votes
0answers
1k views

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 ...
0
votes
0answers
126 views

How ntopng connects to nprobe server behind NAT

I have nprobe installed and running in a machine which is behind a NAT (let us say PAT). The ntopng is located outside NAT and we know that ntopng is the client which opens ZMQ connection to nprobe ...
1
vote
1answer
230 views

Adding bridge for LXC breaks NAT/DNS

I am having a issue with a small home server. This server operates as a DNS/DHCP/NAT. I am also trying to add a few LXC instances with JUJU however I am running into a issue with the bridge. When I ...
0
votes
1answer
104 views

How to use my ubuntu server as router?

+---+ eth1- *.1.6| S | =========| | |PC1|private net -------------------- | |=============...
0
votes
1answer
209 views

How to setup IPTABLES for logging/monitoring usage while using a DSL with a dynamically assigned IP

I am trying to set up a system to do NAT and other iptables-stuff (like logging, firewall, monitoring, etc.). The ISP provides a dynamic IP address and the DSL modem does NAT. I have the following "...
1
vote
1answer
69 views

no network in ubuntu13 when virtal box is configured with bridged adpater

I am using Ubuntu 13 on virtual box with my host being Windows 8. My aim is I want to ping from host to guest or from any physical machine to guest (Ubuntu).I am able to ping from guest to host but ...
1
vote
2answers
129 views

Unable to share internet via NAT connection sharing

I've been using my Jetson TK1 Remotely via ssh and NAT connection sharing as described here. Earlier everything was working perfectly, but now whenever I try to share my internet connection by running ...
3
votes
2answers
6k views

iptables/netfilter: What's the difference between PREROUTING and FORWARD?

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 ...
0
votes
1answer
31 views

Problem in virtualbox network

Install first time it was working properly. I wanted change network interface but i did't keep a backup. Now i can't connected to network in ubuntu server my host system is ubuntu pls advice me what ...
0
votes
1answer
951 views

UFW blocks traffic in NAT

I've created a VM guest with libvirt with the default NAT Bridge. (Host and Guest Ubuntu 14.04 Server) After creating allow rules for SSH and enabling ufw - on the guest - i can't connect to the ...
0
votes
1answer
524 views

Setup NAT on Ubuntu 14.04

I'm trying to insert my desktop between an appliance and the rest of the network to monitor the traffic coming off of it due to some security concerns. I'd like to setup NAT so that the devices behind ...
4
votes
1answer
9k views

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 ...
1
vote
0answers
28 views

NATing ports selection using hardware detection

I have a linux box to be used as a router with a wlan port in AP mode. The internet input to the board may come from either an eth port (WAN mode) or another wlan port. There is also VPN running that ...
1
vote
2answers
187 views

Setting up NAT for internet access on a connected router

I'm setting up a NAT for a connected router to my laptop using the following command (IP forwarding is enabled): sudo iptables -t nat -A POSTROUTING -s 192.168.47.0/24 -o eth0 -j MASQUERADE So ...
1
vote
1answer
3k views

Hardcoded static IP assignment for eth1

I'm setting up a NAT, and need to assign a static IP to my eth1 interface. The problem is that once in a while, it resets, and I need to run the following command again: sudo ifconfig eth1 192.168.47....
3
votes
1answer
471 views

A question about the Internet/ConnectionSharing (NAT) via iptables

I'm following this tutorial to setup a NAT gateway: https://help.ubuntu.com/community/Internet/ConnectionSharing#Ubuntu_Internet_Gateway_Method_.28iptables.29 With simple eth0 as WAN and eth1 as LAN ...
1
vote
1answer
2k 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
710 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
2answers
4k views

Open source stun turn server which can do hole punch is there similar packages?

Is there any open source stun/turn server which can do hole punch like numb for Ubuntu ? Numb is a STUN/TURN server. Description A STUN/TURN server is used for NAT traversal in VoIP. ...
0
votes
1answer
1k 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
316 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
397 views

ip route - connecting two tun dev

Im trying to get two tun dev connected. If got everything, but the nat running. One tun is secure connection and the other tun for internet access. If got everything, but the nat running. There is a ...
3
votes
1answer
12k views

Networking problem with Ubuntu as guest in VMware workstation on Windows 7 64bit

I've the following configuration: A. Physical machine: Windows 7 64bit with VMWare workstation 8 with a physical network adapter with this ip configuration: IP 192.168.1.101 Subetnet Mask 255.255....
0
votes
1answer
346 views

Share internet connection from computer without NAT

Is there a way to use my laptop with a wifi card and provide network access to my laptop without NAT? I currently set up network manager to share the internet connection and I can browse the internet ...
6
votes
2answers
37k views

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?
7
votes
2answers
56k views

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 ...
2
votes
1answer
3k views

NAT not working in a container

Following instructions I've installed docker on ubuntu 13.04 (and 12.04 + 3.8 kernel), pulled the base container and started a shell inside it. It got a private IP and can ping it's default gateway ...
0
votes
3answers
1k views

Making Localhost as worldwide server

I am using Ubuntu 12.04 with KDE desktop. I have installed apache2 on my pc. I want set my localhost as remote accessible server. What I must to do? What is the NAT or Ubuntu servers settings?
1
vote
1answer
509 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 ...
2
votes
1answer
1k views

Unable to connect to my remote Ubuntu system using SSH

I want to connect to my remote PC running on Ubuntu 12.10 using SSH. But when I try ssh my_username@my_current_ip, I get this error: ssh: connect to host 117...** port 22: Connection timed out I ...