port-forwarding on firewall or via SSH

learn more… | top users | synonyms

2
votes
1answer
315 views

Port-forwarding with Authentication

Okay, so here's the story: I administrate a server running a web application on my internal LAN, say foo:1234. My team uses this actively. We have now decided to make this application accessible ...
0
votes
1answer
489 views

When does it make sense to use DNAT and not SNAT?

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 ...
1
vote
1answer
208 views

Access internal host from a subdomain of an external dns

This image contains the topology I want to make work. I have a linux server that is used for hosting websites and also routing for our internal network. How can I access the internal server that ...
3
votes
1answer
3k views

DNS Server Behind NAT

I've got a Bind 9 DNS server sitting behind a NAT firewall, assume the Internet facing IP is 1.2.3.4 There are no restrictions on outgoing traffic, and port 53 (TCP/UDP) is forwarded from 1.2.3.4 to ...
0
votes
1answer
1k views

How to forward external traffic from specific port to specific external ip?

How do i forward outgoing traffic for specific port from internal network to specific external ip in watchguard? I know how to forward incoming traffic using SNAT.
0
votes
1answer
114 views

Making application listen to port

I am running an Ubuntu guest machine through my Windows 7 host machine (with Virtualbox), and on the Ubuntu system running an application that uses port 6969. Through configuring the Virtualbox port ...
1
vote
3answers
1k views

How to open UDP port 7777 from iptables/firewall on Ubuntu 11.04

I need to enable the port 7777 from my VPS which runs Ubuntu 11.04, I have added rules from the iptables which is listed here, Chain INPUT (policy ACCEPT) target prot opt source ...
2
votes
2answers
2k views

virtualbox view guest port 80 on host port 80

So i'm trying to forward the guest port 80 to my host port 80 so that I can view the apache running on my guest in my host's browser. If I set the following: (8080/80), I can view localhost:8080 and ...
3
votes
1answer
2k views

Use iptables to forward ssh

i found several tutorials on how to do it, but got none of them to work :/ My setup: FIREWALL - reachable from the internet - eth0: xxx.xxx.xxx.xxx (public ip) - eth1: 192.168.1.1 SERVER - ...
0
votes
1answer
441 views

Make virtualBox webserver public

I'm new to virtualBox so please bear with me. I have a win 7 Ultimate N host (my physical machine) I have a virtual machine with win 2008 server running sharepoint which I want to access from public ...
0
votes
2answers
595 views

iptables: How to redirect / forward traffic without traffic through server?

I now played around with iptables (the whole day) to make my rules work, but there is one issue.. all traffic that I redirect goes through my server and back through my server. We are talking about ...
1
vote
2answers
882 views

Raw TCP/IP port forwarding software

I have server which IP address is whitelisted in some external system. And also, I have a few software developers with dynamic IPs which develop software and they need to connect to external system, ...
0
votes
1answer
386 views

tomcat6 behind xinetd - real client ip

In server.xml, at the Connector I specify proxyPort as 80. Here's the xinetd service: service http { socket_type = stream protocol = tcp user = tomcat6 ...
0
votes
0answers
145 views

Flaky connection to SVN

We're using Subversion for source control, hosted on a machine behind a router, using port forwarding. On the local network everything seems OK. But when we connect to SVN from a remote computer ...
0
votes
1answer
129 views

Port forwarding, port range? [closed]

I want to map a local port on my computer, say 3000, to my public ip address, but my router (SMC 8013WG) has this admin panel which is not very helpful, and it gives me a lot of empty fields. I have ...
2
votes
1answer
76 views

Forward Requests to Subdomain to another Server [duplicate]

Possible Duplicate: FTP reverse proxying based on hostname/domain I have 3 servers which all have FTP on the same port. They are all at the same ip address behind the same router. The ...
0
votes
1answer
444 views

iis 7.5 site not reachable through external ip adress from router

I'm hosting a test site under iis 7.5 on windows server 2008 r2. The firewall is deactivated and my router (fritz!box) has a rule to forward the port 3130 to my test server. The test site is ...
2
votes
2answers
2k views

How to create a persistent port forwarding using ssh?

I am currently using ssh to forward few ports like this: There are 3 machines: A-host - machine building the tunnel, one that can access both B and C B-host - machine that does not have access to A ...
0
votes
1answer
117 views

How to handle DNS at the firewall

I'm running in to a mental roadblock trying to figure this one out. We have a Juniper firewall at our office and we do a lot of port forwarding to reach internal services that we need to access from ...
0
votes
1answer
426 views

Port forwarding not working despite DMZ and bridged modem

So I'm trying to set up SSH access to a friend's server, and we've learned from his ISP (SureWest) that their modem is bridged. Next, the router (Linksys E2000) was set up for port forwarding. No ...
0
votes
2answers
1k views

How to set up a temporary local port forwarding from a port to an other on windows?

I have a server (cassini) that listens on port XXXX. It accepts only connections from localhost. This is not configurable. I would like to temporarily run a program that will listen on port YYYY from ...
1
vote
2answers
321 views

Mac Mini as a server in small network

I'm thinking about setting a small network and having a Mac Mini as the server. I'll need to make it accessible remotely, used to share files locally and remotely. There's need to backup everything up ...
0
votes
2answers
519 views

After altering port forwarding on EC2 instance I can no longer browse it

I am currently unable to browse a website that is hosted on my EC2 instance (I get a 'could not connect' error). I was trying to set up Node.js on my EC2 instance and as part of that process I ...
0
votes
1answer
173 views

Allow people to see my sites on WAMP [closed]

I currently setup a port in my router. Port Number is 2300 and I wanted to share a site on my WAMP server. I know how to setup port forwarding so that can't be the issue. But when I go to {My-IP}:2300 ...
0
votes
1answer
2k views

Port forwarding doesn't work in VirtualBox (Vagrant)

I have got VirtualBox (Vagrant actually) with CentOs. I have got port forwarding there (NAT). For example, I have got some application in my box bound to port 8080. Port is forwarded. So I can connect ...
0
votes
1answer
178 views

iptables routing local network traffic

I have router works like this internet -> 1.2.3.4 eth1 -> Router <- eth0 10.0.0.1 - LAN and want to port forward port 80 from 1.2.3.4 to 10.0.0.10 -A FORWARD -d 10.0.0.10 -p tcp -m tcp ...
-4
votes
2answers
104 views

How to access an IP address as if on a different network using SSH [closed]

In preparation for a lengthy business trip, I set up my router such that I can access my home computer over the internet via port forwarding over SSH. One thing I neglected to do was setup access to ...
1
vote
1answer
235 views

virtualbox port forwarding - firewall config

i have a ubuntu host system with virtualbox running a windows server. In Virtualbox i have configured the network with a NAT interface and port forwarding for the RDP deamon running inside the vm. ...
0
votes
1answer
995 views

SMTP port open - but not open

As some of you might know, I am setting up an exchange server. Now I ran into another problem: I cannot connect to the SMTP service from outside the server! The ports are opened in the gateway ...
-1
votes
1answer
226 views

Win 2008 r2 — client and server are both behind a NAT

I am new to win2008. I have a Win2008 R2 server installed and need to know how to get a client system (Win7), using remote desktop, terminal server, or whatever windows 2008 provides, to connect to ...
0
votes
2answers
597 views

SSH not working through Double NAT

I am trying to setup port forwarding for ssh through 2 NATs The first Router translates my internet IP to my outer network (10.1.7.0). In the outer network there's a second Router that does NAT to my ...
-1
votes
1answer
616 views

Forward localhost memcached server on port 12111 to domain.com memcached server

My customers are running many scripts that uses memcached, but all of them are using localhost as a address. My localhost server is now out of RAM, because it's doing many other things like WWW and ...
2
votes
4answers
986 views

Can I pass HTTPS traffic from one port to another?

I'm doing a proxy_pass in nginx on port 80 to 8000 on my remote server, and then a port forward from 8000 to 80 from the remote to my localhost. This works great, but I'd also like to do it with https ...
1
vote
1answer
60 views

Using port forwarding to log into remote mysql server

I would like to import a local file into my remote mysql database, which is residing on ec2. How would I accomplish the following: $ ssh -i ~/.ssh/my_key.pem user@ip $ mysql -u root localhost [ ...
0
votes
1answer
240 views

NAT ing to port 80 not working,when request comes to itself

We have a machine with Virtual Machine with local IP NAT ed to Public IPs. When a request comes to public IP on port 80 it will be redirected to VM with local IP. This is the iptable rule we are ...
0
votes
1answer
177 views

Browsing my website from proxy sites works but not from my own machine

I just setup my IIS to be accessible from web to be some IP : XXX.XXX.XXX.XXX. It works nicely when I visit from proxy sites like hidemyass.com. However, when I visit my website from my machine ...
2
votes
2answers
482 views

Forwarding MySQL connection with iptables and differents network interfaces

I have a PC with Ubuntu as a router. It has a 3G connection with a public IP to the Internet, and there is a private wireless subnet. So it has two active interfaces: ppp0: public IP (WAN) wlan0: ...
3
votes
2answers
655 views

Workarounds for probable TIME_WAIT issue preventing reestablishing broken SSH tunnels?

While not intending to cross-post, after sending this question to the OpenSSH list on SecurityFocus, I noticed that the list is rather low traffic (the previous post was approximately 5 months prior). ...
2
votes
1answer
1k views

My CentOS 5.7 server can't access the internet

I have a CentOS 5.7 server setup in my office. I have recently moved to a new router (Linksys E3200) and I don't seem to be able to access the web at all through it (git, yum etc.). All the other ...
0
votes
1answer
54 views

I have a Belker router and i am looking for a tool that monitors the ports and reports whitch ports are opend [closed]

I have a Belker router and i am looking for a tool that monitors the ports and reports whitch ports are opend. I need it for testing an aplication. Could you recomend a good offline monitoring tool?. ...
1
vote
3answers
359 views

What are some ports that are essentially “never” used (super rare port ranges) [closed]

I want to set my port forwarding routes far far away from the normal ports which my computer uses. I asked this question on Google and nothing like it came up, so, here I am. (this is a subjective ...
-1
votes
1answer
874 views

How to access server using public ip when in the network itself? [duplicate]

I've asked this question and even searched around but didn't get a useful answer for me. Basically what im doing is i have a webserver on internal ip 192.168.0.100 port 80. So if im in the network it ...
1
vote
0answers
130 views

Port forwarding with URL on OpenBSD 4.5

I need to setup forwarding on gateway machine with following request from client: Is it possible to setup pf.conf on OpenBSD 4.5 machine, but instead IP address to have given URL such as ...
3
votes
2answers
1k views

How do I view Security Group rules for an AWS EC2 Security Group using the command-line tools?

I know that you can set Security Group rules with ec2-authorize and ec2-revoke. How do you view the rules of a given security group?
2
votes
1answer
116 views

Deauthorize Amazon EC2 Security Group rule from command line with API tools

I know that ec2-authorize {security group} -p {port #} ... will authorize a new rule; my question is, how can I deauthorize a rule from commandline? I tried ec2-deauthorize ... with no success :-)
4
votes
1answer
7k views

SSH Reverse Port Forwarding with PuTTy - how to specify bind address

Using Putty, I have set up a reverse proxy which allows me to connect on port 8080 of the server at server.tld to port 80 of the machine which initiated the SSH connection. The server allows me to ...
0
votes
2answers
537 views

Create trust between domains via Internet, because of company acquisition

We want user from the newly acquired company (domain b.com) to be able to authenticate to our helpdesk system in domain a.com via Active Directory. We do not have a point-to-point VPN to the new ...
1
vote
2answers
928 views

How can I get port forwarding to work with iptables?

I want to protect my MySQL Server from portscanners/probes. So my idea is to put the external port on let's say 36636, internal port has to stay at the default 3306 for compatibility with local apps. ...
8
votes
1answer
4k views

iptables: Port forwarding with masquerading is not working

I'm having some issues with my port forwards. NAT seems to work ok and one out of the port forwards seem to work (udp port 7887 to machine 192.168.1.100). But not the others. I doubt that it matters, ...
2
votes
2answers
650 views

Redirect traffic between two ports with iptables

My goal is to run a webserver on port 3000 and make it available to my network over port 80. The best answer I found so far is this nice one liner. iptables -t nat -A PREROUTING -p tcp --dport 80 -j ...