John Mark Causing

System Administrator | Hosting Support Engineer

Bacolod City, Philippines

+639393497018

John Mark Causing

System Administrator | Hosting Support Engineer

Bacolod City, Philippines

+639393497018

SSH iptables redirect

SSH iptables redirect

Our goal here is to manipulate and play an iptables redirection for SSH connection. user SSH to a container “wp1” –> Server 1 catches the connection —> Server 1 redirects the SSH traffic to Server 2 —> Server redirects SSH traffic to...
Nginx Reverse Proxy + IPTables (part 1)

Nginx Reverse Proxy + IPTables (part 1)

This is an example of nginx reverse proxy that connects to an LXD server then connects to an LXC container. Server 1 (LB IP address 192.168.50.27) nginx configuration and mytest.com is the localhost Server 2 (LXD IP address 192.168.50.75) Setting up iptables to...
Linux Iptables Cheat Sheet #1

Linux Iptables Cheat Sheet #1

Port forwarding from localhost/loopback iptables -t nat -A PREROUTING -p tcp –dport 80 -j REDIRECT –to-ports 8080 iptables -t nat -I OUTPUT -p tcp -o lo –dport 80 -j REDIRECT –to-ports 8080 Screenshot below shows that the web server from...