Questions tagged [ip-forwarding]

138 questions
1
vote
2 answers

how to route external IP to internal without MASQUERADE

Ok, i'm still working on creating a dmz'd http server So now I have an ethernet tunnel using ssh -w 0:0 and I have interfaces on each end which can talk to each other: previous question So now I'm grappling with getting this http server to be…
iamacomputer
  • 161
  • 1
  • 9
1
vote
1 answer

Linux bridge (brctl) dosnt forward IP packet when router is one of the bridge endpoints

I have setup a brctl bridge on Ubuntu with the following deployment: Cisco router -> Linux bridge -> client computer The bridge forward the following packets types: ARP,STP, but doesn't forward IP.(I see that it get IP packets in eth0 but dosnt…
Avihai Marchiano
  • 592
  • 3
  • 15
  • 32
1
vote
1 answer

centos 6.3 kvm external ip forwarding to guests

I have a centos 6.3 server with kvm installed. The server has 4 external ips and one NIC. 176.9.xxx.xx1 176.9.xxx.xx2 176.9.xxx.xx3 176.9.xxx.xx4 I use the following configuration ifcfg-eth0 as slave to ifcfg-br0 the configuration in ifcfg-eth0…
1
vote
1 answer

What is the ip-forwarding option in dhcpd.conf?

From O'Reilly's book "TCP/IP Network Administration": option ip-forwarding 0 | 1; Specifies if the client should do IP forwarding. 0 disables IP forwarding, and 1 enables it. The only IP forwarding system I'm aware of is the one defined in…
SamK
  • 1,326
  • 3
  • 14
  • 28
1
vote
1 answer

net.ipv6.conf.all.forwarding = 1 is an unknown key

I have few system with ipv6 addresses. I want to forward request from one system to another. hence I kept the option net.ipv6.conf.all.forwarding = 1 in sysctl.conf but the request is not getting forwarded as it is doing in ipv4, its giving me the…
sanketmlad
  • 183
  • 3
  • 9
1
vote
1 answer

forwarded TCP traffic is refragmented on Linux despite the "Don't fragment" flag

We have 2 VPN servers at the same hoster. The servers are virtual and they have different Linux distros. The VPN clients establish https connections to the same Amazon EC2 server. The TCP packets from EC2 always have the "Don't fragment" flag…
basin
  • 548
  • 1
  • 3
  • 20
1
vote
1 answer

Why is a system sending "ICMP time exceeded in-transit" messages when forwarding packets?

I have the following setup | laptop A connected via Wireguard to a server - 192.168.20.3 | | server B with Wireguard (192.168.20.0) and connected to a LAN (192.168.10.2). Forwarding is enabled | | server C connected to LAN (192.168.10.3) |…
WoJ
  • 3,365
  • 8
  • 46
  • 75
1
vote
1 answer

Route traffic through IPSec tunnel with gateway host

Considering the strongswan wiki, this appears to be a standard problem, but I can't get it working quite right. Network layout The local site (client and gateway) is under my control, the remote site (remote gateway and remote server) is not. The…
fiedl
  • 115
  • 1
  • 6
1
vote
0 answers

Linux Kernel IP Forward activated, firewalld is bypassed?

On a Linux Centos7, I have some traffic that is routed with static routes from one interface to another. I did notice that with firewalld activated, both interfaces added in a zone, and nothing allowed in this zone, all the traffic is still routed…
Carbon69
  • 11
  • 2
1
vote
1 answer

DNS lookup not working when using Ubuntu as an access point

I have a Ubuntu system with a wired connection to a router, and a USB connection to 4G internet via an iPhone. I want to be able to connect other clients to the router and access the internet via the 4G link. I have followed the steps here iptables…
Alan
  • 13
  • 4
1
vote
0 answers

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 servers which are only connected over a local network…
1
vote
1 answer

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). IP allocated with DHCP is always the same. When…
ololoepepe
  • 111
  • 1
1
vote
2 answers

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.107 thinks it is coming from 10.10.121.10 and…
1
vote
1 answer

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. Also raspi has access to the specific server at port…
user1912399
  • 11
  • 1
  • 2
1
vote
0 answers

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 do not think it is quite relevant for my…