I am running a linux machine between two IP Phones with Two NIC card's.
All of the traffic passing through between eth0 and eth1 should move through TCP/IP stack.
Currently,IP-forwarding is enabled in linux and traffic routes directly at Kernel level.
If I am doing port forwarding using IPtables, I can get the traffic in TCP/IP stack but I dont want to perform port forwarding.
I'm running DD-WRT firmware on my router, version DD-WRT v24-sp2 (12/12/11) std.
I'm trying to port forward http traffic on port 80 to my PC's local IP, 192.168.2.97, and although I can browse my hosted site on my LAN, when I try from a remote IP offsite I get "The Connection has timed out".
I have a PC behind a router with port forwarding setup Port 22 for SSH which works perfectly - I can login and everything. What I am trying to do is let this PC connect to a VPN and only allow traffic on local network or via the VPN connection (for internet access). This is also working great. As soon as the VPN connection is broken, the PC has no connection to internet.
I am looking to create a load balancing server. Essentially here is what I want to do:
I have a public IP address, lets say 1.1.1.1 I have a second public IP address, lets say 2.2.2.2
Here is what I want to happen. I have a website, www.f.com point to 1.1.1.1 via an A record.
so i have the lg esteem on metro pcs and ive rooted it. i aso use wifi tether to play games on my laptop using my 4g, but i cant pay diablo 2 because i get a error saying port 6112 is closed. ive tried the port forwarding app but it doesnt work. ive also ran a port scanner i found that says port 53 on my phone is the only port open. any assistance in solving my problem would be appreciated.
I want to forward port 2222 on an Ubuntu 12.04 server to remote host 1.2.3.4 port 22, using iptables.
After reading many web pages on port-forwarding, I issue
$ sysctl net.ipv4.conf.eth0.forwarding
net.ipv4.conf.eth0.forwarding = 1
$ sudo iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 2222 -j DNAT --to-destination 1.2.3.4:22
Which forwards traffic as I desired. But ssh does not work.
I have an existing iptables setup that does port forwarding. In this port forwarding scenario there are some instances where I do not want it to port forward. So, for instance I have this defined:
iptables -A PREROUTING -t nat -i eth0 '!' -s 10.200.0.0/16 -p tcp --dport 80 -j DNAT --to 10.200.30.11
This will prevent 10.200/16 from accessing this rule.
Hi All,
SSH is timing out when I try to connect on my local system using my external IP/hostname. Using SSH from a remote system to the local system works, as does connecting using my local network IP.
I configured port forwarding through iptables and ufw. But there is something I do not understand, I just cant get iptables to forward port 443 to 8443 without allowing port 8443 on UFW.