port-forwarding on firewall or via SSH

learn more… | top users | synonyms (1)

0
votes
0answers
8 views

linux container biridge port forwarding?

How to setup linux container biridge 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 ...
1
vote
1answer
351 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
53 views

Accessing a samba share from a separate LAN [on hold]

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
33 views

Ban IP doesn't work with forwarding [on hold]

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
885 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
0answers
25 views

Can you tell me the step-by-step guideline of how to do the port forwarding on tomcat server? [on hold]

I searched all over internet and found there are very few resources mentioned about this, but there are a lot of guideline how to do the port forwarding on on Wampserver. However, Wamp Server only ...
3
votes
1answer
925 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 ...
-4
votes
0answers
23 views

IP address not online even after forwarding port 80 [closed]

I have forwarding port 80 and it's working on my machine. I mean now I can type my router's ip address in the address bar but when someone (not from LAN) tries it it doesn't work. What could be the ...
-1
votes
3answers
1k 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 ...
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
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 ------------------ ...
0
votes
1answer
869 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
45 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
30 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 ...
-2
votes
0answers
15 views

How can I forward specific url rather than subdomain or domain to one of my local port application [duplicate]

Can I forward an url like: http://sub.domain.com/path1/path2 to one my local port like http://localhost:5555 I have lots of scripts running using url http://sub.domain.com/path1/path2 which I would ...
0
votes
0answers
20 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
16 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
28 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
2k 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
0answers
23 views

Fedora 21 Port Forwarding with firewalld (firewall-cmd); how does it REALLY work? Or, does it? [migrated]

Fedora's ability to forward ports using the apparently "native" networking software, firewalld, appears to continue to be broken beyond credulity. Please note that it hasn't really worked since at ...
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 ...
0
votes
2answers
45 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
26 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. ...
-1
votes
0answers
40 views

How can I publish the IP addresses of Docker containers as local hosts? [migrated]

I have a CoreOS server with a few Docker containers. (Right now I'm using local systemd unit files to run the containers, I have yet to approach fleetd.) What is the best way to connect to the (non ...
0
votes
0answers
28 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 ...
1
vote
1answer
899 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 ...
3
votes
2answers
12k 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
56 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
46 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
29 views
0
votes
1answer
40 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
23 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
144 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 ...
0
votes
0answers
48 views

Yosemite share imac webserver in localnetwork (ipad, iphone)

I have a server running on my imac (port 8000) and I want my ipad to be able to visit it through the local network so I set this rule using pf anchors (hence ipfw is gone).. It doesn't work, what am ...
6
votes
5answers
4k views

Forward local port or socket file to remote socket file

Quick question - I run two linux boxes, one my own desktop and the other my VPS. For security reasons on the VPS end I opted for socket connections to MySQL (/var/run/mysqld/mysql.sock). I know I can ...
0
votes
1answer
42 views

forwarding packet from one interface to another interface

I have an embeded system with 2 interfaces e0 and m0, whose ips are 10.0.0.20 and 192.168.0.20, respectively. Incoming packets into e0 have an ip of 10.0.0.10 and should be forwarded to m0 interface ...
1
vote
2answers
654 views

Port forwarding to the router itself on Edgerouter

I recently upgraded one of my customers to a Ubiquiti EdgeRouter Lite, which is a significant improvement over their old ISP-supplied router. To reduce the frequency of attacks against the router's ...
1
vote
1answer
35 views

high availabilty port forwarding in mswindows

I need port forwarding for a mswindows host, but I need something which can handle more than one target with fail over. There are no end of tools to do this on Linux/Unix (haproxy, balance, ...
0
votes
0answers
21 views

New Debian 7.7 - Port has been forwarded but not working

i have a (in my mind) weird thing happening on a fresh Debian 7.7 I have opened a port and if i try to enter the port and ip on http://yougetsignal.com it says the port is opened but no matter what ...
-4
votes
1answer
181 views

Applying firewall rules: iptables-restore: line 1 failed [closed]

I'm trying to do Port forwarding on my centOS machine. When i'm restarting iptables i'm getting the error iptables: Applying firewall rules: iptables-restore: line 1 failed [FAILED]. My iptables file ...
0
votes
0answers
175 views

OpenVPN - open ports for clients only via iptables

OpenVPN server running on my ubuntu server (tun mode). My problem is that i cannot set some ports be accessible only for VPN clients. I have a dirty solution, but i want better. I have no iptables ...
1
vote
3answers
456 views

Port forwarding and machine access

I have an application running in local google app engine and I am trying to expose it over the internet for some testing. I have successfully set up port forwarding in my router. Used this tool ...
1
vote
3answers
651 views

Redirection with IPTABLES while hiding the original port

So, I have my Glassfish server is listening on port 8080. However, I want to have my requests at port 80 while hiding 8080, so that people think my server really runs at 80. How can I do it with ...