3
votes
1answer
102 views

SSH port forwarding to a host that needs to contact a third named host to access MySQL

We customize and support standard web applications that our customers host on managed servers from different web hosters. Usually, the application consists of a web application in PHP and a database ...
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 [ ...
2
votes
2answers
472 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: ...
1
vote
2answers
922 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. ...
2
votes
2answers
433 views

Issue NATing server private interface to loopback (for MySQL)

I'm trying to NAT traffic sent to the server's private interface to the loopback (because MySQL bind-address is on 127.0.0.1 and can't be changed but I still need to reach it via the private ...
1
vote
1answer
833 views

Problems forwarding port 3306 on iptables with CentOS

Im trying to add a forward to the mysql server at 200.58.126.52 to allow the access from 200.58.125.39, and Im using the following rules (its my whole iptables of the VPS of my hosting). I can connect ...
1
vote
1answer
226 views

How to setup port forwarding from my Webserver (apache) to my Database server (mysql)

and thank you for your help so far. Here is my problem: I have two remote dedicated servers, one webserver that runs apache, and one db server that runs mysql. The apache server is visible on the ...
0
votes
3answers
1k views

Connecting to mysql server remotely via dyndns.org

I have a mysql server which is accessed locally by several computers on the network through a static ip at 192.168.1.# . I need the mysql server to be accessed from our web servers so that I can run ...
5
votes
5answers
3k 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 ...
1
vote
3answers
958 views

Port forwarding for localhost traffic over SSH to production machine database

On windows I used to use Bitvise Tunnler to foward all traffic on my PC's localhost:33306 over an SSH connection to my server - and then from there to the mysqlserver:3306 server database. PC:33306 ...