Iptables routing via SSH tunnel
Vipul Agarwal <[email protected]>
| Newsgroups | gmane.user-groups.linux.london.gllug |
|---|---|
| Message-ID | <CADK2VQwbau6dxyVVYRN-sG4JuYbQabSMBu3+asgu0FS178=1uA@mail.gmail.com> |
Hi guys, I have two linux servers with root access and an external database server which is managed by someone else. Initially, only one of my server can access this external database server while the other can't due to IP restriction. I want to enable access to this external database server to my other linux server temporarily as it'll take few days to get the IP added to the firewall. I think this can be done using a SSH tunnel. Please help me writing the correct iptables rules to route all the traffic to a specific IP/port via the SSH tunnel. Regards, Vipul -- Gllug mailing list - [email protected] http://lists.gllug.org.uk/mailman/listinfo/gllug