Questions tagged [nat]

Network Address Translation, a technology used to translate a private IP address into a public IP.

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

Purpose of port forwarding

This following article talks about Network Address Translation (NAT) and port forwarding. What is port forwarding and what is it used for? What is the point of port forwarding when NAT seems to do ...
Boris Chernis's user avatar
1 vote
1 answer
1k views

IPTables -- Forwarding to Attached Client but keep source IP

Here's my scenario: I have a VPS that has two IP addresses and is running OpenVPN (IP Address of OpenVPN server: 10.1.2.1). I want to forward all received traffic on ONE address to VPN-client (10.1....
Trecius Veil's user avatar
1 vote
1 answer
39 views

SSH key lost in tunnel

I'm trying to connect to my private VPC instance through a NAT instance with tunnelling i'm defining -A to make the NAT instance an agent for my key and -i for the key file. When trying ssh -A -i '...
Asaf Nevo's user avatar
  • 131
1 vote
1 answer
760 views

VMWare How to share the connection between a NAT and a host-only network?

I have 2 VMs running. (On Ubuntu 14.04) The first one has 2 network adaptater (NAT and host only) The second one has 1 network adaptater (host only). The first can ping google.com. The second one ...
guest888's user avatar
1 vote
1 answer
341 views

Having problems with setting up server behind NAT

My OS: CentOS 7 Server: Apache Equipment: Sterlite SAM 300AX Okay so I'm trying to set up my server on my home connection, and been having some problems. I have been allotted a static WAN IP by my ...
Ahmad Bilal's user avatar
1 vote
1 answer
3k views

Is it possible to setup a NAT loopback on a router with a dynamic IP using iptables?

I've set-up a Raspberry Pi home server attached to my router. I have a dynamic IP. I can access the server within my network using the internal IP (192.168.0.8). I can also access the server outside ...
Inops's user avatar
  • 111
1 vote
1 answer
309 views

PS3 Ideal NAT Type

On the "Internet Connection Test" on my PlayStation 3, it lists my "NAT Type" as "Type 2." What is the ideal NAT Type and how does the NAT Type affect my games and streaming media?
i_am_root's user avatar
  • 323
1 vote
1 answer
2k views

vpn, IP forwarding and nat

I have setup a Softether VPN on an Ubuntu 14.04 server in an aws network which has about a dozen servers using this guide. The only difference is that I have used SecureNat and softether DHCP. I can ...
markhorrocks's user avatar
1 vote
1 answer
705 views

How to reliably set up communication between the VirtualBox guest OS and host OS?

I have a VirtualBox (Windows 8 guest on a Windows 8 host) with NAT networking set up. I would like to set up the guest system to emit Growl messages that would be picked up by a service on the host. ...
George Mauer's user avatar
1 vote
2 answers
3k views

How do routers avoid port clashes when DMZ and NAT are used?

NAT in consumer routers makes the router translate a request from an internal device on a private IP (say dev0) and a specific source port X to a request from it's own public IP at a different source ...
Simon's user avatar
  • 317
1 vote
1 answer
2k views

VMWare: Linux host doesn't get NAT connection from Windows Host

I've been trying the last couple of days to get NAT networking to work. I am running VMWare workstation on Windows 7, and installed an Ubuntu image. The image starts up fine, but the vm does not get ...
daniel kullmann's user avatar
1 vote
1 answer
2k views

Securing remote access to local server behind NAT router

I want to remotely access a Linux server in my private local LAN via HTTPS and SSH. The server ist connected to my DSL router (German Fritz!Box). As I can't directly access my server because of this,...
muffel's user avatar
  • 535
1 vote
2 answers
2k views

Multiple network interfaces with the same local IP address

I run several VPN connections that give me different external IP addresses. But these VPN servers often give me the same local IP address. So I can end up with the following configuration: eth0 [...
alexpirine's user avatar
1 vote
1 answer
1k views

OpenWRT NAT only for clients on certain WLAN network

I am using an OpenWRT powered WLAN router as an access point for my network. Everything on the network id run through a PFSense box so that I can have full control from there. I would like to have a ...
Gerharddc's user avatar
  • 463
1 vote
1 answer
590 views

Accessing two devices with the same IP?

I want to connect my laptop to two WiFi enabled digital cameras, that have the same IP hardcoded: 192.168.1.1 One solution that I've successfully tried: Connect one device to the laptop's built in ...
feklee's user avatar
  • 1,654
1 vote
1 answer
6k views

Switch with NAT/port forwarding?

I'm sorry for this basic question, but I'm stuck. I'm looking for some networking equipment that allows me to route WAN traffic (internet) to a client on a local LAN based on TCP/UDP port. That is, ...
user2408193's user avatar
1 vote
1 answer
116 views

How can I specify which network to use for internet connection and which for viewing network computers

I have two Network Adapters on Windows 7 64 bit operating system which is installed on Oracle Virtual Box. I created those two adapters as follows: NAT VirtualBox Host-Only Ethernet Adapter If I ...
teenup's user avatar
  • 650
1 vote
1 answer
4k views

Where to place a port-mirroring switch for home network monitoring

I want to start monitoring traffic that goes in and out of my home network. I'd like to collect information like bandwidth usage and (specifically) HTTP requests from home computers to websites. From ...
gregnr's user avatar
  • 113
1 vote
1 answer
200 views

Implementing a direct TCP link between computers hidden by a router with a server managing the connection

I'm working on an encrypted chat program and I'm trying to work out a way of sending messages directly between two computers which are hidden by a router (each have their own local IP address and are ...
KleptoKat's user avatar
1 vote
1 answer
735 views

VMWare Fusion 6 Nat translation issue

I have the following network diagram, using VMWare Fusion 6 I am able to ping from the en0 interface on my mac to all of the 172.16 network, and on the custom linux kernel (2.6.x) base I can ping the ...
Greg Brown's user avatar
1 vote
3 answers
6k views

Free VPN soft/service to connect two computers over internet behind NAT [duplicate]

I have two computers (home and work) that I want connect to VPN. Both computers are behind NAT. I have no access to network configuration so configuring VPN server on router is not possible. Is there ...
Karel's user avatar
  • 11
1 vote
1 answer
3k views

Network adapter connected by NAT has same address as host

I have created a virtual machine with 2 network adapters, one connected to the host using NAT and the second connected through a host-only adapter. This set-up works for what I want to do, Give the ...
TomSelleck's user avatar
1 vote
1 answer
121 views

Use a PC as a one client router/switch

I have a laptop running win7 , with two network cards wifi and normal wired (RJ45). I normally use the wifi for internet connectivity (Via a personal router). I have a raspberry pi, also with a rj45 ...
user277371's user avatar
1 vote
1 answer
8k views

Torrent upload ratio not updated on Synology DS212+

I have a Synology DS212+ NAS running DSM 4.2-3211 (current version). I use it for several purposes including torrent download using Download Station and a tracker that needs authentication. My ...
user179271's user avatar
1 vote
1 answer
1k views

iptables, redirect from ip address to loopback

I have an Apache web server listening in 127.0.0.1:63280 eth0 has IP: 172.200.200.200.1, and try to connect from workstation IP 172.200.200.200 iptables -t nat -A PREROUTING -s 172.200.200.200.1 -p ...
JuanMa's user avatar
  • 29
1 vote
1 answer
774 views

How do you set up a VirtualBox CentOS 6.3 VM . . . in order to access it via SSH from a remote host (not host to guest)?

What should I do? I installed VirtualBox 4.2.6 I installed CentOS 6.3 It's powered on # ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:...
Jonathan's user avatar
1 vote
1 answer
625 views

NAT and P2P router crash

So..i had this argument with my networks teacher. He said that some people complains about router crashes due to many entrys on NAT tables on a router. I didnt understand and i asked: "If the ...
BrunoMCBraga's user avatar
1 vote
2 answers
2k views

Weird slow uplink problems on my home Debian router and new fast connection

Yesterday I got a new and shiny VDSL2 connection home! It's specced at 100Mbit/10Mbit, and seems to deliver pretty close to the mark. Now, I have a Debian squeeze linux box acting as a home NAS and ...
tstm's user avatar
  • 181
1 vote
1 answer
480 views

Failover WAN with multipath

I'm configuring a dd-wrt router to allow access via VPN to a remote desktop server. The router will sit behind another router providing NAT. I'm configuring it with a backup 3G mobile broadband link. ...
rtf's user avatar
  • 12.7k
1 vote
1 answer
4k views

can't ssh within LAN, but can connect from outside

A strange issue: I have a desktop running Ubuntu 10.04 behind a Netgear WNR1000 router performing NAT. I would like to be able to ssh into the desktop from my laptop (running Windows 7 and Cygwin). ...
Patrick B.'s user avatar
1 vote
2 answers
10k views

iptables trouble: nat with ip alias (virtual interface) not working

I'm setting up an Ubuntu 11.10 server to act as firewall for a network running several different SSL websites. The idea is fairly common: have all public IP's for each site aliased to the public ...
skyrimjunkie's user avatar
1 vote
3 answers
4k views

Understanding port forwarding and NAT

I've got some confusion about port forwarding vs NAT. I know the problems NAT causes for P2P, and that there exist some solutions to it (STUN,TURN,etc) which require a relay server to setup direct ...
KaiserJohaan's user avatar
1 vote
2 answers
2k views

Firewall in front of device with public IP address

Is it possible to have a firewall in front of a device with a public IP address without getting in the middle of NAT? I have a server that I need to put on the internet, but I want to put a firewall ...
Ross's user avatar
  • 13
1 vote
1 answer
517 views

Need to connect to virtual box guest from host

The guest is a NAT device. From Ipconfig I can have an ip adress but I can't ping it from the host. do you have some ideas on how to connect to virtual box guest from host ? Host OS: 2008 windows ...
Aiach's user avatar
  • 11
1 vote
1 answer
1k views

loopback error, home network

I've setup my router to forward port 80 through to my computer, so I can access it from a dyndns.org domain. The domain and the ip both seem to be totally working, externally (can access it from ...
aaaidan's user avatar
  • 139
1 vote
2 answers
2k views

Two public IPs behind a cable-modem using D-Link DIR-300

I have a cable-modem connection to the internet and I bought a router in order to share my internet connection betwen my laptop and my PC. The router I bought is D-Link DIR-300. The first weird thing ...
GetFree's user avatar
  • 3,130
1 vote
2 answers
610 views

Why is my Internet Connection Sharing mysteriously broken?

I have a strange problem with Internet Connection Sharing on a laptop running Vista Business. This laptop is connected to the internet via the ethernet port, which goes to an ADSL modem. it is ...
Bill Grey's user avatar
  • 273
1 vote
0 answers
38 views

Cannot access internal network server from internal network device using public IP

I cannot access server2 from my laptop under the office network using public external IP address. And here is my experiment Case From To Command Connection Case 1 L server1 ssh [email protected] -p ...
Olivia's user avatar
  • 11
1 vote
0 answers
58 views

Getting a local IP from ISP router when behind NAT

I want my PC to have a unique IP on the LAN (192.168.1.x), however the PC does not have the capability to the router directly. My current setup involves an ISP modem/router (1.254), a Mac (1.231, 2.1),...
franz_hopper's user avatar
1 vote
1 answer
191 views

IPTables rules and networking with problems 2

My plan is to have a computer that forwards all traffic from internal interface ens19 to openvpn-interface tun0. The system has 2 physical interfaces: ens18 for local network with Internet connection ...
kasper2083's user avatar
1 vote
1 answer
230 views

How to communicate with VirtualBox NAT network from another device

Network scenario Hi, I recently built an AD lab environment called GOAD on GitHub on my secondary PC (PL4YGR0UND) running Ubuntu 22.04 and I don't know how to communicate with VM's inside Virtualbox ...
cbdRedGG's user avatar
1 vote
1 answer
72 views

Networking: NAT two interfaces together on Windows

I have the following setup: Openvpn client (Linux) (Openvpn IP 192.168.99.4) Openvpn client (Windows) (Openvpn IP 192.168.99.2) Openvpn server (Linux) (Openvpn IP 192.168.99.1) Now, both clients ...
twit's user avatar
  • 11
1 vote
1 answer
283 views

nftables, dnat in output chain appears to be done after routing

I have an EC2 instance and an application that requires to send to the EIP from within the instance. I am trying to configure a dnat on the output chain so that the packets dont go out to the internet ...
user6072865's user avatar
1 vote
0 answers
65 views

Trying to setup iptables properly

I have dummy0 interface on my machine. I need to forward its port 10456 towards loopback port 10456 which is forwarded via ngrok to some remote endpoint (very convinient). I have never done any ...
Euler-Maskerony's user avatar
1 vote
1 answer
1k views

Using VPS to give Public IP to on home network

As my provider does not give me a public IPv4 Address, I am using a VPS combined with a Wireguard tunnel to make my homeserver reachable from the Internet (via Ipv4 and Ipv6). On my homeserver, the ...
turbothorsten's user avatar
1 vote
0 answers
2k views

No internet connection in VM with Libvirt NAT

Hello super users, I am trying to get an internet connection up and running in my KVM/QEMU VM through Libvirt's default NAT. Unfortunately, the guest (Windows 10) sees the virtual adapter as an "...
limefrog's user avatar
1 vote
0 answers
160 views

How to configure DNAT on linux PC so that windows PC destination address can NAT to external linux server?

Topology: Windows PC (Eg.,20.0.0.2) <---> enp6s0 20.0.0.1 [Ubunthu 20.04 as NAT] enp8s0 172.30.18.95<-->eth1 - Linux PC {172.30.18.90} Requirement: I want to ftp 30.0.0.1 from windows PC, ...
neosbin's user avatar
  • 11
1 vote
0 answers
224 views

SSH doesn't work through mikrotik

I have Mikrotik RB952Ui-5ac2nD. Everything is working fine. But now, I found little problem. I can not connect from LAN to any SSH in internet, but, when I'm connected without mikrotik, i havent any ...
Dave's user avatar
  • 11
1 vote
0 answers
71 views

MrikoTik Source NAT With Pub IP's

Let me start off saying that I am use to FortiGate and have never programmed a MikroTik Router. I do have everything already built with the Private subnet but none of these publics added to the ...
Sandman1091's user avatar
1 vote
0 answers
423 views

Public IP configuration on Home router ( TP-link 940N)

I got 196.188.173.32/30 ip adress from my ISP with the following configuration. Wan ip : 10.126.10.158/29 Gateway : 10.12.10.157 Lan Ip : 196.188.173.32/30 I have configured the router per the ISP,...
Tinsae's user avatar
  • 111

1
7 8
9
10 11
24