Proxmox at Hetzner (part 2): Install OPNSense/pfSense with multiple LAN networks
Gateway IT Tutorials
00:00 - Intro 00:51 - Theory and some diagrams 05:12 - Installing UFW, configuring NAT and firewall on Proxmox 10:46 - Configuring OPNSense 18:53 - Why brigde interfaces are "empty" 19:18 - IP + MAC method 21:54 - Outro
Edit before.rules file:
NAT
*nat :PREROUTING ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] -F
Port Forwardings
-A PREROUTING -i vmbr0 -p tcp --dport 80 -j DNAT --to-destination 10.99.99.254 -A PREROUTING -i vmbr0 -p tcp --dport 443 -j DNAT --to-destination 10.99.99.254
Forward traffic through eth0 - Change to match you out-interface
-A POSTROUTING -s 10.99.99.0/24 -o vmbr0 -j MASQUERADE
COMMIT
EOF NAT
Run these commands after that: sysctl -p sysctl --system
ufw allow 22/tcp ufw allow 8006/tcp ufw enable systemctl enable ufw
ufw default allow outgoing ufw default allow forward
Reach out to us on Reddit: https://www.reddit.com/r/gatewayittutorials/ https://www.reddit.com/user/yaroslav_gwit
PayPal Donation to support the release of new videos: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BYZMNVH4QH3L2&source=url
View and support us on Odysee: https://odysee.com/@gatewayittutorials ... https://www.youtube.com/watch?v=25uXpWb4-hE
109265692 Bytes