Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ip-forwarding]

The tag has no usage guidance.

0
votes
1answer
82 views

Ping public ipv6 dns from docker container

The docker container is running on a VPS (ubuntu 18.10). What I am able to do: ping -6 2001:4860:4860::8888 from host machine ping -6 <docker container ipv6 address from host machine ping -6 &...
1
vote
1answer
35 views

route traffic from VPN server LAN (cloud) peer to VPN client

I have set up a Google Cloud deployment roughly configured as such: node B, which is at address 10.0.0.6 and default route is through 10.0.0.1 node V, which is a VPN server, on same subnet at 10.0.1....
0
votes
1answer
63 views

IP/Packets Forwarding [closed]

I have searched a lot about IP + Packets forwarding but there was not enough information to find. Is forwarding only used in case of Virtual Private Networking or it has also other uses? if yes, when ...
0
votes
1answer
28 views

Routing from LAN into OpenVPN

I need to set up a route from our local network into our VPN. That is, anybody from inside the LAN should be able to communicate with machines in the VPN, without being a VPN client itself. Problem is,...
0
votes
1answer
93 views

Squid 4.2 - Different outbound IP for each client/user

I have been playing with a few different pieces of forward proxy software, primarily CCProxy and Squid Proxy/Cache. What I have is a dedicated server with a single NIC with multiple IPs assigned to it....
0
votes
0answers
219 views

forward all traffic between two ports without iptables

I have read this: Port forwarding on Linux without iptables? I have a vps and I have ran lxc containers on it. I want to redirect all incoming traffic from one outside port to one port of a container ...
0
votes
0answers
32 views

Selectively setting default gateway for traffic forwarded by IP tables

I'm attempting to forward traffic from a publicly available host to a private host located on a VPN. The TCP packets need to retain the original source IP address. I've set IP address forwarding: ...
0
votes
1answer
45 views

Ip forwarding - multiple subnets, multiple Ethernet ports

There are plenty of examples on here of how to forward ip traffic on a linux machine, and a few examples of how to forward traffic from one interface to another. However, most of the latter examples ...
1
vote
1answer
119 views

Attach multiple static IP to windows server instance on Google Cloud

My aim is this Host multiple websites/apps on IIS that is configured on my windows server instance on Google cloud e.g example.com (to host the website), api.example.com (to host api endpoints), app....
4
votes
1answer
131 views

Docker bridge and nginx allowed ip

We have a docker bridge containing several docker containers. The main docker is an nginx server which acts as web host and forwards all data to the other containers. Now a requirement is that the ...
1
vote
0answers
194 views

(Mac OS PF) Redirect outgoing UDP traffice to specific ip:port

I'm having some trouble getting my head around how PF works in Mac OS. I have been doing a lot of research on the topic but just cannot find the solution (although I can find many other very similar ...
0
votes
0answers
62 views

Using Windows Server DNS Manager, how can forward DNS requests only to another NIC (VPN Adapter)?

My scenerio: Windows Server 2016 with DNS manager 1 Ethernet Network Adapter (Metric 1, the main Internet Connection) Static Private IP Address: 172.31.22.19 Static Public IP: 13.126.xxx.xxx 1 VPN ...
-1
votes
1answer
33 views

Forwarding all traffic to proxy server

I am trying to build a proxy server that will receive all client packets and forward to the content server. As I read the proxy type is "forward proxy". While doing the system architecture I couldn't ...
0
votes
0answers
66 views

HTTP(s) Request on a web server seen as local ip, send the answer to another ip (public)

I'm afraid it might be a noob question, but i still don't find any answer. I have a web server getting request seen coming from a local network (let's say 10.18.200.x, unreachable for the answer of ...
0
votes
0answers
108 views

Slow throughput with iptables NAT / IP forwarding for reverse proxy setup

I believe I have a pretty simple setup. Server A (Debian) is supposed to act as a reverse proxy for (web) server B, which is located somewhere else in the world (IP: 145.145.145.145 in this example). ...
2
votes
1answer
3k views

How to Turn on IP Forwarding for Interface If Forwarding Rule Was Already Created

I am trying to turn on IP Forwarding for an interface of an instance hosted in Google Cloud. I have a f1 micro VM instance on Google Compute Engine. I've created an IP forwarding rule with gcloud ...
1
vote
0answers
335 views

Sharing CheckPoint VPN connection

Sorry for my english. I have 2 VirtualBox VM. One with Debian 8 and the other with Ubuntu Server 14.04 LTS. Both configured with a bridged network adapter. Both machines have the same MAC an IP ...
0
votes
1answer
295 views

NAT public IP to local IP | IPv6

I'm trying to create a small gateway for a home project. I have a NODE, GATEWAY and EXTERNAL machine, running on a public IPv6 network. Though the NODE is not connected via ethernet, but my goal is to ...
0
votes
1answer
350 views

Ip forwarding very slow in google cloud

I have set up GCE-instances (google cloud) and EC2-instances (aws), and I want to set up routing like this: AWS-DUB <-A-> GCE-LON <-B-> GCE-TOK <-C-> AWS-TOK Connection A is ...
0
votes
2answers
80 views

How to forbid forwarding packets to private network addresses via interface

On my server, I have a default route to interface eth0. It has public internet address and faces ISP network. I have packet forwarding enabled, and few local interfaces/bridges with private 10.x.x.x ...
0
votes
1answer
88 views

Host and VM share same IP frustrating intent to forward all incoming traffic to UTM on VM, what to do?

I a new to virtual networking and have been at it about 2 months. I have a physical machine (PM) with physical ports eth0 and eth1. Eth1 is not being used. Rather, eth0 is attached to both the WAN on ...
0
votes
0answers
82 views

How to test route lookup performance?

I need to test (IPv6) route lookup performance in the Linux kernel. I want to know how much time it takes to find a match if there are 100 routes, or 1000, or 10000 and so on. I'm using containers, so ...
0
votes
1answer
1k views

How to Access a host behind a server over VPN (IP Forwarding)

I have an Ubuntu server (172.10.200.11) and many remote terminal units with simcards and each individual simcard operator using different IP pool such as 10.57.0.0/16 for OP-A, 10.112.0.0/16 for OP-B, ...
0
votes
1answer
528 views

Layer 3 IP Forwarding/NAT between two interfaces

I have a strange configuration, let's see if you can give me some advice :) I have two networks (10.X/24 and 20.X/24) conected by a linux machine between them. This linux have two interfaces, each ...
0
votes
1answer
61 views

Connect clients of different networks that I CANT change its netconfig

I have two clients Android phone doing hotspot (192.168.43.1/24) Another device with static ip (192.168.1.10/24) I CAN'T change the network config of anyone, first because android hotspot is ...
0
votes
2answers
3k views

routing setup on centos7

I'm new in routing but need to accomplish the following routing task I have 3 machines Machine A, B, C, CentOS7 on each of them, selinux disabled, firewall not installed Machine A has 3 nics, ...
0
votes
2answers
110 views

Port forwarding while retaining the source IP?

I have a dedicated server, which I have everything running off, however the dedi lacks DDoS protection, so I have purchased a VPS that comes with it, so I can effectively use it as a proxy. I have ...
1
vote
0answers
44 views

2 Node Linux Cluster - Architecture Validation

so I have a 2 node galera cluster on single 192.168.10.0/24 IP subnet as on this layout: My problem is not about Galera but connectivity. Node1 is unable to reach Node2 via ICMP hence my Galera ...
0
votes
1answer
46 views

How to create a private network with same production ip address? And How to make communication between using linux machine as router?

I have production network in some IP series say 192.168.X.X in Vmware. In this i have some machine. I need to create a test setup. I have created a separate VLAN. Those VLAN were not connected to any ...
2
votes
2answers
35 views

What prevents an ip_forwarded-enabled server to be used by an attacker as a router

Setup / Question Given a server on the public internet with the IP 185.48.117.176 with /proc/sys/net/ipv4/ip_forward=1 and no iptable-rules. What prevents an attacker that is directly or indirectly ...
1
vote
1answer
379 views

IPv6 forwarding seems to only work in one direction

I now know the answer: I did a bad mistake and did not even tell you. There was also a running radvd for router advertisment and instead of RA'ing a 64-net I was RA'ing a 56-net. So the router and/or ...
0
votes
0answers
55 views

smtp-request behind iptables-router not working

I set up a router with ip-forwarding on Ubuntu 16.04 Server edition. I enabled ip-forwarding in /etc/sysctl.conf . I have set net.ipv4.ip_forward=1 and executed sysctl -p /etc/sysctl.conf I used ...
1
vote
1answer
184 views

UFW 0.35 - Redirect incoming port 2121 to port 21 on VM (other interface)

I'm posting here because I've got a server, and I want to redirect the port 2121 of my main interface (eth0) to the port 21 of my secondary interface (virbr0). This is my configuration : Physical ...
1
vote
1answer
45 views

HTTPS between two port forwarded domains in Azure, problematic?

I'm not too comfortable with these things, but quite possibly what I'm asking is trivial. I have a site hosted at foo.azurewebsites.net And also an API at bar.azurewebsites.net (WEB API as an API ...
2
votes
0answers
481 views

How to redirect a URL from hostapd without internet access?

I have configured my server with iptables rules in order to forward all traffic to a specific domain. Those are NAT rules and the redirection works fine as long as I have internet access. But when ...
-1
votes
1answer
34 views

Send local traffic from host A:3306 to host B:3306

I'm having trouble making sense of all the iptable examples out there. I simple want all requests from my machine to host A on port 3306 to actually go to host B on port 3306. How can I do this?
0
votes
0answers
84 views

Naked Domain Forwarding Broken on Godaddy with Period Slash

Is Godaddy naked domain forwarding broken when you have a ./ in the URL? I use GoDaddy for DNS and have naked domain forwarding setup. I have my A record @ set to GoDaddy servers, and use their ...
0
votes
3answers
920 views

Forward packet to another host in the same network

I have 3 hosts in the same subnet, each host has one network interface: A: 192.168.0.1/24 B: 192.168.0.2/24 C: 192.168.0.3/24 On host A, I just ping host B once. This should generate a packet (A->B) ...
2
votes
9answers
3k views

IP forwarding on Linux - anything important to make sure to do or know?

In moving a website with a dedicated IP from one server to another, to minimize downtime due to DNS propagation delays, there's the approach of using IP forwarding so that all traffic to the original ...
1
vote
1answer
654 views

How to prevent linux from dropping incoming packets that have a wrong mac address (promiscuous doesn't work)

I configured three machines in a static proxy_arp like manner: ----------------------+ +-----------------------------------------------+ +---------------------- Machine A | | ...
3
votes
1answer
121 views

how to configuring secondary IP subnet that is directly routed to WMware ESXI main IP

I have a ESXI 5.1 which comes with a /29 Block IP (EX. 70.60.50.0/29) and the ESXi management address is frist usable addres 70.60.50.2, also i have a secondary /27 IP block (10.20.30.0/27) which is ...
1
vote
1answer
379 views

How can I add a static route via a remote server?

I have a remote (i.e., 3 hops away) hosted Linux VM, with some LXCs. Those LXCs have internal IPs 10.0.3.* The VM has IP forwarding enabled. From my Windows machine, I would like to ping the inner ...
0
votes
1answer
788 views

redirect IP on osx

On my Mac OS X (10.6.8) I'd like to make all requests for 111.111.111.111 go to 222.222.222.222 for all ports. To test this, I have a webserver at 222.222.222.222:80 which will respond with a page for ...
6
votes
2answers
8k views

Map IP to another IP

Assume the following scenario, if I have a local machine (A) the requests another machine (B) using B's internal IP without regard the ports. But A and B are not on the same network, however, B has a ...
0
votes
1answer
160 views

route output traffic from specific NAT'ed VM via ip alias

In a dedicated server with several containers behind NAT, I'm trying to route the output / outbound traffic from one of the containers through a specific virtual interface attached to the main ...
0
votes
1answer
85 views

IP Forwarding Issue

This is my first post, so thanks in advance for y'all's help. I'll try to keep the background succinct and relevant. I am running a server on centOS 4.6 for network client testing. I have the local ...
0
votes
1answer
93 views

Master and slave devices talking to each other through another device with two interfaces. All in the same network

I have three devices, one is a master which will talk with the slave and Device3 but it is only physically connected to the Device3. The slave will speak only with the master(also through the Device3)....
1
vote
1answer
784 views

iptables forward ip to another ip

I've configured multiple IP Addresses on my Ubuntu ssh server. Now the server can be accessed by using any IP Address, from 192.168.0.51 to 192.168.0.99. Depending on which IP Address someone uses to ...
0
votes
1answer
1k views

forwarding packet from one interface to another interface

I have an embeded system with 2 interfaces e0 and m0, whose ips are 10.0.0.20 and 192.168.0.20, respectively. Incoming packets into e0 have an ip of 10.0.0.10 and should be forwarded to m0 interface ...
0
votes
1answer
446 views

Enable IP forwarding inside an OpenVZ container but disable it on host

Is it possible to enable IP forwarding inside an OpenVZ container but keep it disabled in host system? I understand that OpenVZ containers and host share kernels, but I can use sysctl to set ...