Questions tagged [ip-forwarding]

138 questions
0
votes
1 answer

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 hardcoded inside (with root is possible but it's not a…
rul3s
  • 15
  • 5
0
votes
2 answers

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, Connected to internet IP 147.x.x.67/21 (interface…
user387694
0
votes
2 answers

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 port forwarding setup on the VPS with the following…
09stephenb
  • 109
  • 4
0
votes
1 answer

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 physical adapter. I call it as "ISOLATED ENV". i…
0
votes
0 answers

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 the following iptables commands: iptables -A FORWARD…
sosusu
  • 1
0
votes
1 answer

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?
Matthew Herbst
  • 157
  • 1
  • 7
0
votes
0 answers

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 interface to forward all naked domain traffic to www..…
speedplane
  • 111
  • 4
0
votes
3 answers

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) and send to B. B receives the packet just…
Ken Ly
  • 1
  • 2
0
votes
1 answer

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 any host.…
cherouvim
  • 744
  • 3
  • 18
  • 37
0
votes
1 answer

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 physical interface. Both interfaces have public IPs…
manchine
  • 51
  • 1
  • 7
0
votes
1 answer

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 10.2.80.X/24 network space reserved for myself. …
0
votes
1 answer

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). The third device is meant to be a gateway…
0
votes
1 answer

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 ip_forward to 1 or 0 separately from inside container and…
Samik
  • 73
  • 5
0
votes
1 answer

Redirect traffic through a computer to another connected to the same switch

I am trying to setup a single sender, single bottleneck and single receiver network. Network Image The router in the image is a computer that has ip_forwarding enabled. PC1 has the default gateway set to the IP address of PC2. PC1 and PC2 are on…
0
votes
0 answers

Iptables - centos 5.8 - how to forward ports to internal lan

I'm trying to map port 8080 to another machine running a web server. ppp0 = ADSL internet connection eth0 = ethernet card of linux machine (ip address: 192.168.0.2) 192.168.0.105 = other machine with the web server I want to forward requests on…
gpwr
  • 111
  • 4