port-forwarding on firewall or via SSH

learn more… | top users | synonyms (1)

2
votes
3answers
1k views

NAT with iptables to Xen DomU

I am trying to forward packets arriving on the host machine to a virtual machine. Current aim is to forward xxx.xxx.xxx.xxx:3022 to the vm 192.168.10.2:22. I tried adding the following rules through ...
0
votes
3answers
2k views

Forward traffic to local LAN IP while keeping the originator IP

I am trying to forward traffic from one server to another, while keeping the origin requestor IP. Therefor I cannot use SNAT or MASQUERADE. SERVER A: Public IP: 111.111.111.111 Private IP: 10.0.0.1 ...
2
votes
5answers
3k views

How to configure traffic from a specific IP hardcoded to an IP to forward to another IP:PORT using iptables?

Unfortunately we have a client who has hardcoded a device to point at a specific IP and port. We'd like to redirect traffic from their IP to our load balancer which will send the HTTP POSTs to a pool ...
0
votes
2answers
130 views

How to configure port-forwarding to enable internal service accessed by another machine?

I have an existing service which is listening on 127.0.0.1:2009, and I want to access that service from another machine, so I tried to configure port-forwarding to do it: sudo /sbin/iptables -t nat ...
-1
votes
0answers
17 views

Iptabels Port Forewarding Issue

I am trying to forward requests on eth0 (192.168.1.110 port 9600 tcp) to the same port on 192.168.250.2 (reachable through eth1 (192.168.250.150)). This is so that I can leve a preconfigured Raspberry ...
-1
votes
0answers
13 views

iptables, multiple vpn with selective routing, unable to forward incoming ports

First of all, forgive my incompetence! I have a Linksys EA6900 with Tomato by Shibby v.129. I have set up 2 OpenVPN clients and successfully configured iptables so all traffic by default is routed ...
-1
votes
0answers
9 views

IPTables route only specific IP and ports over VPN

I have a DD-WRT router that is a OpenVPN client. I am trying to get my network to use the regular ISP based connection and only use the VPN connection for a couple specific IPs on specific ports ...
-1
votes
0answers
8 views

how to port forward to server + tunnel specific hosts route though openvpn client on tomato [migrated]

Running Shibby Tomato v130 on an Asus RT-N66U. My goals are the following With Transmission running on the router have all torrent traffic route through an OpenVPN client also running on the ...
2
votes
1answer
41 views

Is it possible to deterministically trace how port 80 is forwarded and where the configuration is on a given system?

Is there a way to determine or trace how a port forwarding configuration is set up on a system running Ubuntu 14.04 LTS, on which there is a NodeJS service running and somehow accepting connections ...
2
votes
2answers
1k views

Iptables: Forwarding packets doesn't work

I have 3 Linux Systems A, B and C. A is a TCP Client and sends a message to TCP Server on C. A can see only the external IP of B which is at wlan0 interface, 192.168.0.3 ------------------ ...
1
vote
1answer
3k views

cisco ip nat / port forwarding

I have been trying to get port forwarding working with a newly installed cisco router. I cannot seem to find where my fault is and have been looking for quite a while. The relevant section of my ...
0
votes
0answers
19 views

CentOS 7 -> CentOS 6 VM port forward using firewalld

I have CentOS 7 installed, and I need to run a JTAG server that is only compatible with CentOS 6. I installed a CentOS 6 minimal install (no NetworkManager, no GUI) in a qemu machine. I have the VM ...
3
votes
1answer
2k views

Windows Server 2012 Port Forward for Specifc Host

I am trying to have a specific host be redirected to another port when trying to access a service on port 80. So, when the client (192.168.1.22) requests a connection to the server (192.168.1.10) on ...
1
vote
1answer
14 views

Redirect Webmail traffic through port 80?

I have set up a website on BlueHost (shared server) and I have set up webmail in a subdirectory. But every time I use the url mywebsite.com/webmail, it gets rerouted to mywebsite.com:2095 which ...
0
votes
2answers
37 views

Is there any disadvantage to putting a modem in bridge mode

In order to prevent the need of port forwarding and double natting I plan to put a modem into bridge mode. Are there any side effects or problems that could come of placing a modem into bridge mode in ...
-2
votes
1answer
14 views

Specify forwarded port to be used in authorized_keys

My Current SSH Situation. I got a few SSH Clients and an SSH Server. I deploy an autosshserver.script to the clients. The script creates a reverse SSH tunnel (plus it forwards port 22 and 5900) to ...
0
votes
0answers
25 views

Proxy/Gateway/Router server for specific ports only

Sorry, i don't know the correct term for this type of server. English is not my primary language. This is what i want to do : I am migrating my already running web app to Google compute engine (My ...
3
votes
2answers
1k views

Port forwarding stops abruptly - Windows Server 2012

You can port-forward in windows, like so, this is explained in this article. netsh interface portproxy add v4tov4 listenport=80 listenaddress=192.168.1.111 connectport=80 connectaddress=192.168.0.33 ...
1
vote
2answers
25 views

Port Forwarding through OpenVPN to Client on OpenVZ

Edit: Okay I will try to make this more clear. What I am trying to achieve is simply a port forward, through my OpenVZ hosted openvpn server, to a service running on a client. There are a few ...
0
votes
1answer
14 views

Port Forwarding with Cisco SR520 IOS

I've been tasked with setting up port forwarding for access to remote desktop on a server. I'm having trouble making it work. Server IP 192.168.1.20, port 3389 The router is a Cisco SR520. It is ...
0
votes
1answer
23 views

Port forwarding between 3 machines

I have 3 machines that are connected as a chain, A,B,C. A-->B-->C A is my machine, B is server, and C is other machine with some services and web server on it. Because of some issues I need ...
2
votes
2answers
59 views

WatchGuard Port Forwarding / Static NAT

I'm trying to forward a specific port on my WatchGuard firewall to an internal host in a specific VLAN. My setup is roughly as follows: INTERNET vv WatchGuard vv--------vv--------vv ...
0
votes
4answers
3k views

How to route external TCP port 80 into loopback (127.0.0.1) port 8080?

I have a test VDS box with real IP. If i start web server on physical interface port 80, it can be opened from another computer via it's ip address (and default port 80): python -m SimpleHTTPServer ...
0
votes
1answer
3k views

iptables forward rule not working in openwrt

I am trying to apply some iptables forwarding rules in openwrt. Here is my scenario - My server has two cards ath0 and br-lan. br-lan is connected to internet and ath0 to private network. The other ...
0
votes
0answers
20 views

HTTP on localhost not working with DNS A-record and port forward (ERR_EMPTY_RESPONSE)

I have a Jenkins server on my local machine that I publish to the outside world through a DNS A record (ci.alanif.se:8080) with my ISP and port forwarding through two routers. This works perfectly ...
-2
votes
1answer
23 views

Alias domain name on local network only

I run Owncloud 8 on a Raspberry Pi. It is hooked up to my router with IP 192.168.0.122. I want to be able to access it from the internet using mydomain.com, so I signed up to a dynamic DNS service and ...
0
votes
1answer
53 views

Internal URL redirect to particular server and port

What is the easiest way or what options do I have in order to create an alternative internal URL on our network to access a particular internal website? For example I have just installed the ...
1
vote
1answer
912 views

LAN->LAN IP translation (for TortoiseSVN + Artifacts + Buffalo router)

Here's my scenario: I've got a VisualSVN server on my main dev box @ home. I'm also using Visual Studio 2010, TortoiseSVN, VisualSVN client (for source control), and Versioned 'Artifacts' (for bug ...
0
votes
1answer
16 views

socat udp packet forwarding with source address

I am trying to use socat (instead of iptables) for UDP port forwarding. I just need to redirect some traffic from UDP port 162 to 33162. I am using something like this: socat ...
0
votes
0answers
10 views

isc-dhcp: provide routing option?

I wonder if it is possible to provide Windows port forward using isc-dhcp. In my company we have 2 internet connection and the first one is highly restrictive. So we cannot do FTP or SFTP on this ...
0
votes
0answers
27 views

What port do I need to use to see the Rabbitmq management plugin via vagrant and docker on Mac OS X

I am on Mac OS X. I run the latest version (as of June 2015) of Vagrant, Docker, Virtualbox, and rabbitmq. I have the following Vagrantfile, and it all starts up well and rabbitmq also starts up well ...
0
votes
1answer
29 views

FTP Server 2008 (This webpage is not available)

Im having trouble getting access to my FTP server on a web browser. On the local server i am able to (ftp://192.168.50.11) and login using user name and password using the browser. On a different ...
0
votes
1answer
58 views

Iptables forward traffic from A to B where A is not gateway for B

I want to forward ssh traffic from A port 2222 to B port 22. I do have ipv4 forwarding set to 1 on both interfaces. Still, this does not work. What is wrong? Machine A: eth0 192.168.0.150 eth1 ...
0
votes
0answers
15 views

Forwarding mac osx port 80 to address inside VPN using pfctl

Good morning, I have a mac osx ip -> 192.168.0.128 (Logged on vpn) And a have a webserver inside my vpn, responding on 172.16.4.126:80 I want to access http://192.168.0.128 and see my content from ...
0
votes
1answer
1k views

Cisco ASA: port forwarding to different IP depending on client IP/subnet outside

I have Cisco ASA 8.2(5) and would like to configure port forwarding. Cisco ASA has 2 interfaces: outside with IP 192.168.57.2 inside with IP 192.168.1.1 I have two subnets reachable through ...
1
vote
1answer
918 views

how to setup sonicwall tz210 to port forward packets received from external ip to another external ip

i have a sonicwall tz210 on a fixed ip, say ip1. And then i have, let's say a legacy server, with external ip ip2, which sends data to ip1 (and I have another server on ip1 behind the sonicwall which ...
0
votes
1answer
39 views

SSH Tunnel Connection keeps dropping

I am developing a site whereby the site connects to a clients server to query the database. A ssh tunnel was created and this approach has worked fine for all sites but one. I'm assuming that because ...
0
votes
0answers
17 views

Openshift : How to open a port world wide?

I have installed a wildfly server on OpenShift. Here is the link of it's home page http://tomcat-thacker.rhcloud.com/ This home page and other deployed applications are running on 8080 port so, I am ...
-1
votes
0answers
33 views

WIN 2012R2 Hyper-V NAT port redirect to Centos cause Redirect Loop

I have a real dedicated server with WIN2012R2 (on public ip 1.1.1.1, and internal 192.168.1.1) . I installed Hyper-V on it. and I run a Centos virtual machine (only on internal 192.168.1.11). By using ...
1
vote
2answers
77 views

How do I send network packets from an ipv4 address (with port forwarding) to an ipv6 address (no port forwarding) without STUN?

* I have the following situation: * Bob wants to interact with Alice directly (encrypted interaction, no intermediary server who will forward his packets). Both are behind NAT. Alice has a public ...
1
vote
1answer
2k views

Assign ipv6 address to KVM guests on bridge mode

System: CentOS 6.5 Network: Bridge on br0 IPv6: ISP Native /64 block. IPv4: ISP address (not internal LAN) Purpose: To assign IPv6 only to guests (manually), I don't want ipv4 address to be ...
2
votes
3answers
91 views

OpenVPN and port forwarding

I have an issue with my Linux-based server regarding VPN and port forwarding. I am also a beginner is this area, so forgive me for any mistake. First, let me describe you the infrastructure. I have a ...
1
vote
1answer
61 views

Windows Server Port forwarding SSH to Telnet for multiple users

I have multiple installations with a specialized database framework (Intersystems Caché) that contains its own Telnet server running on port 23. Although the product does run on Windows Server 2008, ...
2
votes
1answer
45 views

Device not accepting connections from a forwarded port. Security Issue?

I am forwarding a port through to a PLC/Management unit type device for a heatpump. The device accepts local connections from the LAN on port 80. It runs a normal web site on port 80 for management. ...
1
vote
3answers
12k views

Serial port forwarding over TCP/IP (linux server)

I am looking for a way to use a remote serial port on a linux machine over LAN. The machine is running ubuntu 10.04 and I have a arduino board connected to it, that I would like to be able to ...
-2
votes
2answers
499 views

How do you relay HTTP Port 80 Connections to Tomcat Port 8080?

I am working with a CentOS VPS and would like to achieve this without running tomcat as root.
2
votes
1answer
47 views

Can I SSH into a Raspberry Pi over the internet and edit files? [closed]

I have a Raspberry Pi 2 set up as a web server running apache. I have SSH setup so that I can connect to it on the LAN. I'd like to connect to the Pi remotely so that I can either directly edit the ...
50
votes
4answers
147k views

How can I port forward with iptables?

I want connections coming in on ppp0 on port 8001 to route to 192.168.1.200 on eth0 on port 8080 I've got these two rules -A PREROUTING -p tcp -m tcp --dport 8001 -j DNAT --to-destination ...
0
votes
1answer
100 views

Make Asterisk to serve another subnet

I have server with Linux Ubuntu 12.04. It has two subnets - 192.168.0.1(eth0) and 192.168.1.1 (eth1). There is an Asterisk server (IP PBX) connected to first subnet, lets say it has IP address ...
-1
votes
2answers
80 views

Port forwarding ssh with iptables

Moved from stackoverflow... My new Internet firewall, based on Linux iptables, is working in most regards very well, but the port forwarding does not work: $ ssh -p 7022 [ppp0-ip-address] ssh: ...