port-forwarding on firewall or via SSH

learn more… | top users | synonyms (1)

2
votes
2answers
42 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
55 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 ...
0
votes
2answers
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 ...
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
25 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, ...
0
votes
1answer
42 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 ...
-3
votes
0answers
36 views

Server only reachable over VPN [closed]

I have an Apache server running on a Raspberry P and it works just fine in the local network. And after forwarding port 80 and trying to connect using the public IP, Chrome says ...
2
votes
1answer
42 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
496 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.
0
votes
1answer
2k 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 ...
2
votes
1answer
33 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 ...
49
votes
4answers
141k 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
70 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
52 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: ...
3
votes
1answer
917 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 ...
0
votes
2answers
2k views

Iptables port forwarding on AWS EC2

I have AWS VPC with 1 public subnet and 1 private subnet. I have my web-server running on port 80 in private subnet. I want this webserver be accessible form public internet Yes, The VPC security ...
0
votes
1answer
48 views

linux container bridge port forwarding?

How to setup linux container bridge port forwarding? I start using LXD, and looks like their policy is to setup port-forwarding with OS base unlike docker. I want to build a web server, so 80 port ...
2
votes
0answers
29 views

nodejs not receiving request on forwarded port [closed]

I am trying to get my router to forward requests made to my noip dynamic dns to my local computer where I have a nodjs running, waiting for requests on port 14555. I have the noip dns set up so that ...
1
vote
1answer
303 views

Redirect ssh trafic for one user through another port

Is it possible to have a configuration like this: A server which listen ssh connections on port 22 as usual For one user (let's say git) redirect all the traffic through another port (2222 for ...
1
vote
1answer
905 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 ...
1
vote
1answer
356 views

Sending traffic across two lan, trough port 80 and revese SSH tunneling. How to setup server

Im want to send traffic over to Host B on port 3000, i have access to all nodes in this drawing, the only port that is open between these two lans is port 80 from Linux Box B to Linux box A. so i do ...
-4
votes
5answers
1k views

How to redirect traffic from port 80 to port 8080

Currently, in a local system there is Apache Tomcat on port 8080 and Apache 2 on port 80. I'm unable to start both the servers at the same time. We need to stop apache2 to have tomcat running in the ...
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
votes
1answer
75 views

Accessing a samba share from a separate LAN [closed]

I have 2 LANs at home : A main LAN running behind my ISP's modem (acting as a router with an IP address of 192.168.0.1, which I'll refer to as router A). Attached to this router is a Raspberry Pi at ...
1
vote
0answers
38 views

Ban IP doesn't work with forwarding [closed]

I use à VPS like a bridge for an other server. I use apf-firewall and this file /etc/apf-firewall/preroute.rules for forward somme port one the other server. This is the end of the file: iptables ...
1
vote
1answer
897 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 ...
3
votes
1answer
1k 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 ...
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 ...
0
votes
3answers
2k views

Running a websocket server and a http server on the same server

I am using nginx to to serve an instance of PHP application, and also at the same time running a Ratchet app to listen to a websocket connection. Problem is, both of these instance are using the same ...
0
votes
1answer
871 views

port forwarding on windows server 2008 to Hyper-v machines

I have a host machine (win server 2008 R2) with several Hyper-V virtual machines. I want to be able to redirect certain ports of host to virtual machines. There is virtual network connection between ...
-1
votes
1answer
57 views

Forwarding ports and traffic to VPN tunnel

I've installed OpenVPN on my VPS. I have one question: how to forward traffic going to that VPS to go to VPN tunnel created with my local PC. I will use TCP connection. The whole traffic will be like ...
0
votes
0answers
42 views

KVM port-forwarding from ppp0 to VM's bridged NIC not working, but to VM's NAT NIC works?

I've spent a lot of time on this freaky problem, I've created a simple host and VM configuration to try isolate the problem. Terminology in this question Host: The bare metal server VM: The KVM ...
0
votes
0answers
32 views

Juniper SSG Port Forwarding over a Site-to-Site VPN

Our company has severs in two locations -- our main office, and a colocation. We're getting ready to move one of our servers, a PBX, from our main office to our colocation for better service, but ...
0
votes
1answer
28 views

xinetd port forwarding causes HttpServletRequest.getRemoteAddr() to always return 127.0.0.1

We're attempting to identify where specific requests are coming from inside our Java application. We have changed the log files to include the IP address and we're using ...
0
votes
1answer
32 views

Forward port to address

I am trying to figure out how to map a specific address on a port on a different address. This might be very trivial, but I am not even sure how to ask Google. I have one machine running two servers: ...
0
votes
2answers
60 views

Accessing server without port forwarding

First of all, I know this question has been asked before It seems, however, that none of these yet have a full solution. My question is essentially the same. I have a device connected to a wifi ...
0
votes
1answer
32 views

serving html remotely from mac os x [closed]

TL;DR: simple HTTP server is accessible locally, but how can I make it available remotely in order to view the served files from another computer on the network? I'm using a zero-configuration ...
3
votes
2answers
6k views

Windows 7 with internal port redirection, is it possible?

I received a request from one of our developers that I am having trouble solving. Here in the office they use linux desktops and I can forward the localhost:80 via a iptables nat to localhost:8080. ...
3
votes
2answers
14k views

How to do the port forwarding from one ip to another ip in same network?

I would like do some NAT in iptables. So that, all the packets coming to 192.168.12.87 and port 80 will be forwarded to 192.168.12.77 port 80. How to do this with iptables? Or Any other ways to ...
2
votes
2answers
10k views

Forwarding RDP via a Linux machine using iptables: Not working

I have a Linux machine and a Windows machine behind a router that implements NAT (the diagram might be overkill, but was fun to make): I am forwarding RDP port (3389) on the router to the Linux ...
0
votes
0answers
66 views

Make local subnet clients get redirected like public clients, when requesting a redirected outside port on the firewall

I have a server that also functions as a firewall for the 192.168.1.0/24 subnet via iptables. It also double as a VM Server. Both the VM's and the local machines share the subnet. The servers ...
-1
votes
1answer
55 views

Two physical servers on one IP behind one router [closed]

I asked this question on StackOverflow and was directed here to ServerFault. I searched the forums here and find 3 or so inquiries that are very similar but not quite the same (or maybe I just don't ...
1
vote
2answers
1k views

SSH to server port forwarding through router

Hi so we have multiple machines on our network running ssh on port 22, because of this we set up port forwarding in the router as 22->22 for one of the machines and 222->22 on the other machine. The ...
0
votes
0answers
23 views

Remote access to Apache through port forwarding [duplicate]

I have been trying to get apache to be accessable outside my local network. I have set a static IP address to my server (just a windows 7 machine running xampp). I have created port forwarding rules ...
0
votes
0answers
31 views
0
votes
1answer
52 views

How do I get boto to work with port 443 being prerouted to another port?

My title may be poorly worded, but I'll try to get the backstory straight: I have Ubuntu instances with clusters of Docker containers all hosting web servers In order to appease firewalls we want to ...
-3
votes
2answers
25 views

Routing a port with no defined port forwarding rules to multiple machines listening on that port [closed]

This is something I've been wondering for a long time but never actually faced a situation where I had time to play with it. Lets say I have a router which has no defined port forwarding rules for ...
0
votes
1answer
164 views

iptables v1.4.21: Couldn't load match `-d':No such file or directory

i am running kerenl 3.14.18 and using iptables 1.4.21, built with these options --static-enable --disable-shared. when i run this command: /sbin/iptables -A PREROUTING -m -d 127.3.0.2/24 -j DNAT ...