ESXi

ESXi --실습-- 2

짱구는굿 2023. 9. 13. 15:58
port forwading
routing

 

vyos

set prorocols static route 10.0.0.0/24 next-hop 10.0.0.1
set prorocols static route 10.0.10.0/24 next-hop 10.0.0.1
set prorocols static route 10.0.100.0/24 next-hop 10.0.0.1
set prorocols static route 10.0.150.0/24 next-hop 10.0.0.1
set prorocols static route 10.0.200.0/24 next-hop 10.0.0.1
commit
save

show protcol

 

 

 

netplan apply
systemctl restart networking

 

 

ifconfig eth0 10.0.10.100 netmask 255.255.255.0 broadcast 10.0.10.255 up
route add default gw 10.0.10.1
cat >> /etc/resolv.conf 
nameserver 8.8.8.8
/etc/init.d/networking restart

 

 

 

Rules

 


외부에 들어오는걸 http가 된다

 

 





모든걸 block