latest updates

This commit is contained in:
Kriss 2024-01-25 12:53:38 +00:00
parent 01dcfc8e9b
commit 2942e5c007
2 changed files with 3 additions and 2 deletions

View File

@ -66,7 +66,7 @@ iptables -A TCP -i $PveVmWanVBR -d $PveVmWanIP -p tcp --dport 22 -j ACCEPT
# Allow Proxmox WebUI (with VNC) (only from PfSense/Squid world)
iptables -A TCP -i $PveVmWanVBR -d $PveVmWanIP -p tcp --dport 5900 -j ACCEPT
iptables -A TCP -i $PveVmWanVBR -d $PveVmWanIP -p tcp --dport 8006 -j ACCEPT
# Allow Webmin (from outside world and PfSense/Squid world)
# Allow Webmin (only from PfSense/Squid world)
iptables -A TCP -i $PveVmWanVBR -d $PveVmWanIP -p tcp --dport 10000 -j ACCEPT
iptables -A TCP -j LOG

View File

@ -1,3 +1,4 @@
#!/bin/bash
ip route change 192.168.11.0/24 via 192.168.10.2 dev vmbr1
ip route add 192.168.12.0/24 via 192.168.10.2 dev vmbr1
# why host should have a route for VPN IP ?
#ip route add 192.168.12.0/24 via 192.168.10.2 dev vmbr1