Questions tagged [ip-forwarding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
52 views

Suddenly ipforwarding uses local ip adresses for forwarded packages in ubuntu 16.04

I had two ubuntu servers (LB1 and LB2) which are directly connected to the internet. The servers both had ipv4 forwarding active. These two servers share their internet connection to some other ...
1
vote
1answer
71 views

Having static IP allocated, still have to use DHCP, otherwise it does not work. Why?

I have a static IP address allocated by my Internet provider. However, support told me I have to use DHCP on my network interface, otherwise it may not work (and it actually does only work with DHCP). ...
0
votes
0answers
35 views

Forwarding Traffic from TUN interface to XX

My setup is the following: I'm writing a program that creates a tun interface and writes raw (Layer 3) packets to that interface. For example a ICMP ping packet (to make things easy). Now i want to ...
0
votes
0answers
315 views

WireGuard handshake fails to be received

EDIT: I figured it out, solution below. I've been attempting to set up WireGuard as a VPN gateway manually instead of using wg-quick, as I don't want to route the local machine's traffic over the ...
0
votes
1answer
96 views

Is IP Forwarding possible for OpenVPN using pfSense on Google Cloud Platform?

I have a scenario with a pfSense machine (subnet x.x.0.0) on GCP, IPSEC vpn with 10 Site-to-Site is working normal but OpenVPN is not, the struggle resides in routing the packets through OpenVPN ...
0
votes
1answer
18 views

EdgeRouter Route Incoming Traffic to another Public Network/Server

I am curious if this is possible in theory? At my colo datacenter, I have a lot of public IP addresses (/21) on a 1GB circuit using an Edge Router 6P (not using BGP). I want to temporarily rent a ...
0
votes
0answers
21 views

windows internet connection sharing to multiple adapters?

As we know, ICS (internet connection sharing) on windows can only be shared to one adapter in the GUI setting. We can see in the picture, there is only one adpater can be selected. But what if I want ...
0
votes
0answers
7 views

iptables reroute traffic from lan port 80 to wan port 80

Here is my setup Firewall Pfsense server: Wan: 198.50.205.232 (eth0) Lan: 10.2.0.41 (eth1) Centos WHM/CPanel Server Wan: 198.50.205.220 (etho) Lan: 10.2.0.23 (eth1) Considering an issue with Cpanel ...
0
votes
1answer
153 views

Kernel IP forwarding not enabled for ethernet interface on boot

To enable IP forwarding on boot in Debian, you put the following in /etc/sysctl.conf: net.ipv4.ip_forward=1 I've done it thousands of times, and it has always worked without issues. But there is this ...
1
vote
2answers
420 views

Static route - gateway not used

I'm trying to use gateway address 10.10.121.10 in order to forward TCP traffic via this machine. I would like to make that traffic from my machine is going over 10.10.121.10 and that machine 10.200.32....
0
votes
1answer
379 views

Port Forward through wireguard tunnel

I have a raspi connected to the Internet with a wireguard roadwarrior tunnel to the office. The raspi should forward traffic at the "raspi Intranet" to the office net to a specific server. ...
0
votes
1answer
250 views

NFTables: is it possible to forward traffic without masquerading it?

I have a remote server (B) that forwards certain incoming traffic to another port of a different server (A, dest). With "masquerade" I only see traffic coming from the forward server (B), is ...
0
votes
0answers
12 views

How do I visit web service, via my vpn connection, running on the same VPS that hosts the vpn server, with no “external traffic”?

Target VPS: Ubuntu 20.0x LTS, 2 3.8Ghz core, 4GB Ram, 150GB SSD + 500 GB HDD. 1 public IP address, 500Mbps bandwith. What I hope to accomplish: I have a VPS, on which runs both an apache2 web service ...
0
votes
1answer
55 views

Forward incoming connection to another server, but forward the connection IP address as well

I have two Linux servers. I need to forward the incoming connection from server A (1.1.1.1:25565) to server B (2.2.2.2:25598) (as an example). I've tried multiple iptables rules, with partial success. ...
-3
votes
1answer
82 views

Iptables forward webinterface of E3531

I have a Raspberrypi with an E3531 UMTS Stick connecting to the Internet. Since the Rpi is headless I wanted to make the Webinterface of the Stick available over the IP of the Rpi. The Stick builds a ...
0
votes
0answers
55 views

Forwarding bonded connection to local network through stateful firewall - ArchLinux

I'm using Arch Linux to set up a firewall for a school which will stream each classes' video to students at home, so I need a strong and safe connection, that's why I was thinking about bonding ...
0
votes
0answers
39 views

I need help connecting to system running as gateway

I need some help with a new network I set up. I have a network setup according to the Masquerade Alternative on this answer, with the tap and bridge, and everything is mostly working. Here's a (bad) ...
0
votes
0answers
3k views

Wireguard on Windows 10 - remote LAN access issues

I have a work LAN (192.168.0.0/24) with a bunch of Windows 10 and Linux machines that I need to have access to from anywhere. Since it is behind an ISP NAT and is not accessible from outside, I had to ...
0
votes
0answers
33 views

Circumventing Local Subnet Control Restrictions with Iptables

I have three wireless speakers that, for security reasons, only permit local subnet control. My network is setup such that the wired and wireless devices are on separate subnets, so right now the ...
0
votes
0answers
344 views

Forwarding Home Game-Server through GRE Tunnel | Can't ping remote GRE IPs

I am having trouble routing my game-servers through GRE. I do not receive a ping from either side when pinging them. I can ping the local GRE interface; however, I cannot ping the remote GRE interface....
1
vote
0answers
47 views

Kubernetes cluster not working after setting up IP forwarding

I am doing a research project and our end goal is to essentially construct a kubernetes cluster using several Raspberry Pis. I've included the fact that we are using Raspberry Pis for reference, but I ...
1
vote
2answers
73 views

Subnet to subnet forwarding traffic

I'am wondering how to forwarding traffic from a gateway to subnet. network setup I have this working setup, Host A behind tunnel can ping HOST B 10.151.0.1 but not HOST C 10.151.0.2. If I TCPDUMP ...
1
vote
2answers
89 views

How can I forward / redirect http to a public IP with nginx?

I have a domain example.com with DNS A record pointing to a public ip x.x.x.x. I need to get all http and https requets from that server and forward that traffic to another public ip y.y.y.y. Any ...
0
votes
1answer
135 views

Why IP address overlapping occurs in IP forwarding table?

My understanding of an IP forwarding table is that they have a listing of different networks (identified by their IP ranges) and connects it to the next-hop router. However, I'm surprised why two ...
0
votes
1answer
68 views

Forward ISP IPv6 from LAN to secondary LAN

I want to forward (or bridge, next to routing ipv4) the IPv6 internet connection from the LAN1 to LAN2. IPv6 internet is accessible on LAN1. I have a windows server, configured as NAT router between ...
1
vote
1answer
431 views

In IPv6 router gets the Router solicitation message, but not respond with Router advertisement

We setup a IPv6 network with two ubuntu systems and we make one PC as HOST and other as ROUTER(based on the concept of SLAAC). The host sent the "Router solicitation" message, but the router not ...
0
votes
1answer
229 views

OpenVPN - Access to other client private network

I know that this title seems to be "over answered", but really I had no luck while searching... EDIT: I've updated the diagram and the question, to be more precise To better explain my situation, ...
1
vote
1answer
2k views

iptables - bridge / routing between two independent LANs (and router)

I can't find a solution in a network like in the drawing below. I need to be able to open admin page of router 2 on LAN2 from a pc in a LAN1, w/o routing throught Internet. I have a "bridge" PC with ...
0
votes
1answer
402 views

How to access the floating ip in browser rather than a localhost?

I have an instances that was made in OpenStack which have a floating IP for its instance, the IP for this machine is 10.1.1.164. I tried to forward this instances so it will accessible in my firefox ...
-1
votes
1answer
24 views

How to forward public_IP/dashboard of an HTTP server to private_IP/dashboard?

I have a website which is accessible internally via http://private_IP/dashboard. The public IP forwards all traffic to the private IP. http://public_IP -> http://private_IP. This works. However, ...
1
vote
1answer
728 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
93 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
73 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
223 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,...
1
vote
1answer
3k 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
656 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
34 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
108 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
295 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....
6
votes
1answer
2k 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
447 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 ...
-1
votes
1answer
552 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 ...
2
votes
1answer
8k 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 ...
2
votes
1answer
805 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
584 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
771 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 ...
2
votes
2answers
434 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
228 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
112 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
2answers
5k views

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

I have a 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, ...