0
votes
0answers
25 views

Simple MASQUERADE NAT between 2 VM

I'm on a cloud service and I'm trying to set up NAT between two VM. I've never experienced issues in this simple step, but this time is different and I'm near to give up. The first VM had two ...
0
votes
0answers
49 views

Linux routing: How to allow a device inside private network to connect a public IP over an unknown network?

Consider following network topology: ---------- ---- (my network) ---- | Device 1 | (.101) | 192.168.191.0/24 | ---------- | | ...
0
votes
1answer
27 views

ifconfig TX/RX on gateway

I have a linux gateway which does nat for a couple of machines behind it. I got complains that we have way more monthly traffic gigs more than we should so the first thing I look was check the ...
0
votes
1answer
74 views

Is it advisable to use virtual Linux server installed on i5 / 8GB / 500GB desktop class computer? [closed]

We have CentOS 4.3 P4 / 512MB /Linux server installed somewhere in 2006-7. This machine has three network interaces for leased line, broadband (backup) and LAN. We use Sendmail, Fetchmail, NAT, Squid, ...
0
votes
1answer
289 views

OpenVPN tun routing (can ping tun interfaces) with mikrotik and NAT on both ends

Problem The Mikrotik site is unable to ping anything on the server site. The Server site is less important right now. OpenVPN Server config is on LINUX port 1194 proto tcp dev tun ca ca.crt cert ...
1
vote
1answer
75 views

Firewall setup Huawei 4G with DMZ

Network topology: ISP1 | | Alternative ISP 4G | | | Huawei 4G with DMZ | | ...
1
vote
1answer
140 views

Linux iptables DNAT stops working after some time

3 down vote favorite I have a strange behaviour in my server setup. It looks like that. client1 192.168.11.2/24 <----> 192.168.11.7/24 (br1/vlan1) Server 192.168.21.1/24 (br21/vlan21) <---> ...
0
votes
2answers
78 views

Forward web request to another computer

I have one notebook and two servers: ip = 172.17.0.2 (I have installed nginx here) ip = 172.17.0.3 (There is nothing here, but I can ping 172.17.0.2 from here) I open browser on my notebook, open ...
0
votes
1answer
103 views

Configure atftp server to reply on port 69

Problem : I'm facing to a problem with TFTP server and Cisco 79XX IP phones. When on a local network, everything is working fine, but when the TFTP server is on a public server (and phones inside a ...
-2
votes
2answers
121 views

Iptables MASQUERADE: What is the advantage/disadvantage between these two commands? [closed]

What is the advantage/disadvantage between below 2 commands: iptables -t nat -A POSTROUTING -o eth0 -s 10.0.0.0/16 -j MASQUERADE AND iptables -t nat -A POSTROUTING -j MASQUERADE Some Background ...
0
votes
2answers
766 views

AWS VPC + IPtables + NAT: Port Forwarding is not working

Yesterday, I posted a question here but I think was not clear enough in my words. BTW, This question is not a duplicate. I have AWS VPC Setup as below. GOAL/PROBLEM: SSH to Server A from internet. ...
0
votes
2answers
65 views

IPtables: Forward port to another host is not working

I am trying out something so this is my test setup: Setup: I have AWS VPC with a public and private subnet. I have a host in public subnet with a public IP address (say Host A) I have a host in ...
-1
votes
2answers
64 views

INPUT, OUTPUT or Forward Chain

I'm using a linux box as a router: The Box has 2 public ips and local ip, i'm using natting to allow local users to access the web. When a local user access the web, source natting happens here, ...
-1
votes
1answer
150 views

iptables and port redirection (nat)

I am trying to build a router from ubuntu 12.04. What I am trying to do is, by using 1 public IP (100.0.0.100) and I tons of local ips like 10.0.0.0/16, to map each port to one ip like; ...
0
votes
1answer
109 views

How to Setup Linux Server As A Router with NAT

We have a simple router which has NAT of symmetric type, but because this router doesn't provide us with any debugging interface, we cannot figure out if a specific packet reaches the NAT or not. ...
0
votes
1answer
109 views

iptables alternative for nat in windows

When setting up a comms server I usually use iptables in linux to forward any incoming connections on a particular port to another server, e.g. Chain PREROUTING (policy ACCEPT) target prot opt ...
0
votes
0answers
58 views

Multiple routes and gateways with NAT

My setup is a VM host with two network interfaces where I want to use one as private/internal and the other one as public (which will get a public address on the host), where all the NAT magic to the ...
1
vote
1answer
405 views

iptables port forwarding to vmware workstation guests on NAT vmnet [closed]

Try as I might, I can't get this to work now for 2 days. Your move, internet. I want iptables to transparently forward (localhost) 192.168.1.40:2222 to 192.168.2.22:22 and I don't want ...
0
votes
0answers
172 views

Martian packet errors with physical adapter's IP address on GRE tunnel

I'm very new to the networking world (most of my time is spent as a developer), so I could very well be missing something simple. TL;DR version: I get 'martian packet' errors on response traffic when ...
0
votes
0answers
61 views

MPTCP router - How can i share access to LAN network?

MPTCP is a emerging protocol that is able to split one TCP session over multiple links. In order to do that the source and destination have to be MPTCP capable. I have configured MPTCP on a linux ...
0
votes
1answer
36 views

Linux NATing on my own IP address

I have a question regarding Linux NAT-ing on my own IP address. Suppose I have a network interface, say eth0. It is given an IP address of 192.168.0.2. Now I apply a NAT rule in Linux saying that: ...
1
vote
1answer
88 views

Forwarding ports from server with 2 internet connections

I have 3 interfaces on my main server, first is used for the local network, second and third are internet connections (each has its own ip routing table): eth0 192.168.0.1 eth1 9.9.9.9 eth2 7.7.7.7 ...
2
votes
4answers
541 views

Linux - two subnets, one interface, one gateway - NAT the additional subnet

We currently have a few servers that all use the same LAN: Host1: eth0 10.0.0.1/24 Host2: eth0 10.0.0.2/24 Host3: eth0 10.0.0.3/24 Gateway: 10.0.0.254 We want to run some VMs (VirtualBox) on these ...
1
vote
1answer
96 views

Advanced NAT - Mix PAT with NAT

I've just configured an Ubuntu Server as a router with NAT/PAT, and I'm trying to do the following thing: I work for a school that has divided its network into smaller networks connected by routers. ...
0
votes
1answer
147 views

Forwarding everything from external DMZ ip to NAT ip using iptables

I know there are a lot of questions about this, but I still struggling to get it working. I have a firewall which has 3 external IPs. (IPs have been changed randomly for security) eth0 Link ...
0
votes
1answer
99 views

Using Linux just for doing QOS on an existing network

I have a proprietary web filtering device which also functions as a NAT router. It's one interface has a public IP and another interface has a private IP. All local clients connect to the interface ...
0
votes
1answer
304 views

1:1 NAT and ARP issue iptables

Gateway machine with 2 NIC one connecting public network and one for private network. Gateway: eth0 4.x.x.3 Eth1:10.10.11.3 There are 5 Machines with this as gateway all with ip 10.10.11.5---9 ...
0
votes
3answers
815 views

Forward traffic to local LAN IP while keeping the originator IP

I am trying to forward traffic from one server to another, while keeping the origin requestor IP. Therefor I cannot use SNAT or MASQUERADE. SERVER A: Public IP: 111.111.111.111 Private IP: 10.0.0.1 ...
2
votes
0answers
100 views

Martian Source & Servers losing network

First off, I am pretty new at diagnosing network issues through linux. I have an intermittent problem with our LAN servers. They seem to lose all connection to the network and if I disable the adapter ...
0
votes
1answer
93 views

Get IP of the “requestor” when doing iptables NAT

I am doing NAT traffic forwarding using iptables (1.1.1.1 => 2.2.2.2) with the following commands: iptables -t nat -A PREROUTING -d 1.1.1.1 -j DNAT --to-destination 2.2.2.2 iptables -t nat -A ...
3
votes
2answers
2k views

How do I forward/NAT all traffic to one interface/IP to a remote IP?

I have one "server A" that has multiple IPs attached to it, like so: eth0:0 1.1.1.1 eth0:1 1.1.1.2 eth0:2 1.1.1.3 I have another "server B" that also has multiple IPs attached to it, like so: ...
1
vote
2answers
87 views

Access virtual box on remote server

I have a remote server (ubuntu) with 1 public IP. I've installed headless VirtualBox and deployed machine. For now I can access it by VirtualBox's VRDE Server running on server, but what i need is ...
-1
votes
1answer
173 views

iptables NAT Forward 443 Port DNAT,SNAT failing

I'm trying to setup a proxy server that handles http and forwards https to the webserver. Client > Proxy > httpd I added the rules: iptables -t nat -I PREROUTING -i eth1 -p tcp -m tcp --dport ...
1
vote
3answers
1k views

Make CentOS 6.x a port forwarding NAT device

I would like to make CentOS a port forwarding NAT machine using iptables. This is the first time I've tried this and I think i might need a little help. This is the configuration i'm trying to ...
1
vote
0answers
63 views

Linux iptables NAT

So I need to setup a server that servers a NAT server for IPMI network xxx.xxx.xxx.xxx = external IP(internet IP) aaa.aaa.aaa.aaa = internal IP A bbb.bbb.bbb.bbb = internal IP B User 1 -> ...
0
votes
1answer
316 views

Running iptables NAT prerouting on second eth interface with different subnet

The situation: I need clients to be able to hit an HTTP server running on eth1 interface on a Linux box on port 8080. I don't want the clients to have to do anything special and I don't want to give ...
1
vote
2answers
170 views

Configure VirtualBox webserver to see visitors IP address

I finally managed to move my server to VirtualBox virtual machine. VM is running in NAT mode. I have forwarded necessary ports, including the port 80 which I first fowarded with iptables to port ...
1
vote
1answer
276 views

Provide public access to a local web server through VPN

I have a VPN tunnel established between 2 servers: VPS-A and VPS-B having the (fictional) public IP addresses: 66.55.44.33 and 77.88.55.66, and VPN endpoints 10.0.1.1 and 10.0.2.1 respectively. There ...
0
votes
0answers
123 views

Multihoming, NAT and ICMP

My router is the default gateway of a LAN and is multihomed. ISP2 is used for HTTP, HTTPS and ISP1, the default gateway of the default routing table, for the rest of the traffic. Similar questions ...
0
votes
1answer
134 views

ldirectord NAT load balancing does not work with negotiate checks

I am using ldirectord for loadbalancing two HTTP servers. On the load balancer box i have the following network configuration: eth0 is used for internal purposes and does not take part in load ...
1
vote
1answer
148 views

how to make my Linux to listen on his public ip rather than the private IP

I have a virtual machine on some public cloud. the physical IP is not routeble. the ISP provided for me with a public IP and the NAT is being done using the ISP FW. on that Server I'm running ...
2
votes
1answer
245 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 ...
0
votes
2answers
264 views

How are connections differentiated from behind NAT routers?

Background: I have a very simple server program written in PHP. It's mostly working, but only as long as there is not more than one client per site. Questions: How does a NAT Router (typical SOHO ...
2
votes
3answers
773 views

Is it possible to capture packets of a Router?

I am facing an issue that some packets sent out to internet from inside network were missing. The pattern we are using is like: Client A ←→ Switch A ← Router A:NAT ← .. Network .. → Router ...
0
votes
1answer
95 views

Where should I configure the Director IP when using LVS NAT load balancing?

The subject is quite self explanatory, I have a load balancer running LVS ldirectord, and the follwoing configuration: # ipvsadm -Ln IP Virtual Server version 1.2.1 (size=4096) Prot ...
1
vote
2answers
2k views

iptables NAT/Forwarding with external ADSL router; PCs on the network can't access the internet

I'm setting up a firewall/gateway (Ubuntu server 8.04.1) The firewall has three NIC's: eth0 192.168.0.2 eth1 192.168.1.2 eth2 192.168.2.2 eth1 is connected directly to the ADSL router (which also ...
2
votes
0answers
1k views

NAT64 configuration with tayga on Debian 6

I'm trying to implement NAT64 with tayga on my server and came to a point where I'm not sure how to proceed. My server is connected via one IPv4 address and one /64 IPv6 address block to the ...
1
vote
1answer
302 views

Virtual box linux routing

Sorry for the basic question but I cant figure this one out. I want to set up a small network of linux servers for testing purposes. So I have a host server running virtual box with the following ...
0
votes
1answer
129 views

iptables error on pptp

root@pptp [~]# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables: Unknown error 18446744073709551615 This is an openVZ box. Is there a way to bypass that? This is the MASQUERADE that is ...
1
vote
1answer
172 views

Linux ( Fedora 15 ) multiple ISP and NAT routing

So I have my system running Fedora 15 and currently with a DSL line. The line provides a static IP along with static route, DNS. I run a web/E-Mail/DNS server from this IP. It also supports a NAT'd ...