port-forwarding on firewall or via SSH

learn more… | top users | synonyms (1)

0
votes
1answer
16 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 ...
0
votes
0answers
14 views

Port forwarding to internal IP [closed]

I just installed the apache2 webserver on my raspberry pi, and tried to forward port 80 & 443 to it. It has the internal IP 10.0.0.11 . The pi is behind two routers. (router-IP 192.168.1.13, or ...
0
votes
1answer
974 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
844 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
2answers
19 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
47 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 ...
1
vote
1answer
885 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
0answers
21 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
23 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
140 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 ...
0
votes
1answer
851 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
vote
1answer
31 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, ...
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 ...
0
votes
0answers
16 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 ...
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 ------------------ ...
-2
votes
0answers
27 views

Unable to Forward Ports on centOS 6.5

Ports on my machine are not being opened. Here are my iptables -L -n -v and iptables-config files iptables -L -n -v Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in ...
-4
votes
1answer
43 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
39 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 ...
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 ...
1
vote
2answers
891 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 ...
1
vote
3answers
445 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
628 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 ...
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 ...
-4
votes
0answers
22 views

Port Forward :80 and :8080 to Two Different Servers [migrated]

On a CentOS 6 server with an IP address of 172.16.1.10, how can I configure iptables to route traffic destined for 172.16.1.10:80 to 192.168.1.10:80, and traffic destined for 172.16.1.10:8080 to ...
1
vote
1answer
26 views

Remote port forwarding not working

I have a test app I run locally, and use remote port forwarding to give others access to it. This was working just fine, until I set up a new server instance on EC2. The EC2 server runs CentoOS 7. ...
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
0answers
25 views

Port forwarding to different subnet

I have two routers: router A with internet access, and router B acting as wireless access point. Devices are attached to router B via ethernet. I need to forward some ports to PCs attached to router ...
0
votes
2answers
45 views

Cisco Easy VPN - Port forwarding needed at remote end?

I was in the process of setting up a site-to-site ipsec vpn tunnel behind a mobile broadband router when i found out that i wasnt able to port forward on that network so i wont be able to use the ...
3
votes
1answer
45 views

Forwarding a port on the loopback interface to a remote IP/port

I have two Docker containers that I'm trying to network together in a specific way. Container A is running a Redis server on port 6379. Container B is running an interactive shell and needs to access ...
0
votes
1answer
39 views

Cisco IOS - Problems with NAT and port forwarding

I have a problem forwarding ports. I have configured a NAT pool of 1 address (192.168.5.2) and assigned that address to the WAN interface. I assigned networks to the access-list, and bind the two ...
-1
votes
1answer
54 views

Route port forward through 2 windows server 2008R2 network adapters to another network

our phone system at work is on a separate network to everything else and I need to forward a port from our gateway to it to allow our phone tech to remotely administer it. I have plugged the phone ...
-1
votes
0answers
14 views

Unable to port forward to VM through loopback (127.0.0.1) [migrated]

I have a somewhat strange issue on my PC where I am unable to reach a Virtual Box VM with port forwarding through 127.0.0.1. It will however work through 127.0.100.1, or 127.x.x.x for that matter. I ...
1
vote
3answers
839 views

Port forwarding using IP Tables

I have a server with a LAN facing address of 192.168.5.100 (eth0) and another LAN facing address of 192.168.6.6 (eth1). On this server I have a Virtualbox instance of fedora running an apache ...
26
votes
3answers
20k views

iptables port redirect not working for localhost

I want to redirect all traffic from port 443 to the internal port 8080. I'm using this config for iptables: iptables -t nat -I PREROUTING --source 0/0 --destination 0/0 -p tcp \ --dport 443 ...
0
votes
0answers
5 views

How to configure iptables to set public IP for outgoing traffic from private IP [migrated]

I have multiple public IPs at home: 1.1.1.1 (main IP) 2.2.2.2 (additional IP) In my local network, I have two computers, let's say 192.168.1.1 (PC1) 192.168.1.2 (PC2) Infront of the computers I ...
0
votes
0answers
29 views

dynamic port routing based on request path

The problem: I currently have a nodejs http server which is used to serve long-running jobs. The way the client typically interacts with it is the following: Send a request to '/start/:guid', to ...
0
votes
0answers
3 views

Securing remote access to local server behind NAT router [migrated]

I want to remotely access a Linux server in my private local LAN via HTTPS and SSH. The server ist connected to my DSL router (German Fritz!Box). As I can't directly access my server because of ...
2
votes
1answer
105 views

Multicraft: Port Forwarding through a GRE Tunnel

For the past week I've been attempting to protect a server from DOS attacks by utilizing a GRE tunnel from a VPS to a dedicated machine without much success. Visual: User --> VPS --> Dedicated ...
-2
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 ...
0
votes
1answer
35 views

Postfix/Dovecot on a VM. Problems with understanding port fowarding

I've set up a mail server with postfix and dovecot on a virtual machine running debian 7. At first I basically made a seperate network with a host-only adapter , so host and guest were in the same ...
0
votes
2answers
36 views

modify iptables rules and default policy but keeping port forwarding

I have the following rules and policy in the end of my firewall script: $IPT=/sbin/iptables ... $IPT -P FORWARD ACCEPT $IPT -F FORWARD # Forward port 2206 to data6 $IPT -A INPUT -i eth1 -s ...
-1
votes
1answer
62 views

Trying to set up port forwarding for multiple subdomains using SRV and DNS

I am working on a startup and trying to keep my expenses low. I'm hosting four servers in my closet with a single static IP address. I want to be able to reach each server over ports 80 (HTTP), 443 ...
4
votes
2answers
1k views

Vagrant forward a range of ports

Is there a way to forward a range of ports using vagrant 1.2.1 or higher? I know that you can forward any number of ports individually by using config.vm.forward_port 80, 4567 Or, is the answer ...
0
votes
1answer
2k views

Problems with port forwarding on a Arris TG862 [closed]

I am having a heck of a time getting port forwarding setup on an Arris TG862. I am trying to forward port 80 to a machine on my network but I am having exactly zero luck. Here is my setup: The Arris ...
1
vote
0answers
31 views

Issue with port range of passive FTPS using VSFTPD

First of all, I am aware that there are many similar questions to this one out there, however the common solution to those problems is the source of my problem; therefore I am asking my own question. ...
0
votes
0answers
68 views

Portproxy actively refuses connections

We recently moved our SVN repositories from a Windows Server 2008 VM to a Ubuntu Linux VM and needed to forward port 80 traffic going to the old server to the new server. This is the command we used: ...
1
vote
1answer
104 views

why port forwarding is not working in this setup?

I'm trying to setup a docker virtualization environment. This is a follow up of this question. I have a virtual eth0:0 interface, and I would like to forward it using iptables. The public, main IP ...
0
votes
2answers
35 views

Port forward for SSH works to one system but not another

I have two systems sitting on a NATed network. When I forward port 22 to system A, I am able to connect directly. When I forward port 22 to system B, I am not able to connect. I am, however, able to ...
0
votes
2answers
68 views

ASA is not forwarding packets to egress interface

We are seeing some very strange behaviour from our Cisco ASA 5505 running 9.1(2) We have a SIP PBX inside our network. It's got a bit of an odd configuration, it listens for inbound SIP requests for ...