How To Port Forward Using VYOS Router3 min read
The Vyos is Linux-based virtual router. This router supports many features like as network routing, firewall, and VPN functionality. The Vyos router is fully open source, but the Vyatta router is pro version running. So I have to show how to port forwarding using vyos router. You can download latest iso from Vyos download
★ How To Setup Zabbix Proxy Server For Different Network Monitor
★ How To Setup Zabbix Proxy Server For Different Network Monitor
Zabbix Server port forwarding using Vyos router
Public IP Address : 93.15.93.179
Vyos Router IP address : 20.10.10.1
Zabbix Server IP : 20.10.50.60
Step #01: Login vyos router via ssh terminal using command below.
# ssh -l root 20.10.10.1
[email protected]$
Then goto configure terminal
[email protected]$ configure
So you can goto
[email protected]#
Step #02: Only two option configure needed like as firewall accept and nat rule.
So I have to first think firewall accept rule.
Vyos firewall default rule configure
[email protected]# set firewall all-ping enable [email protected]# set firewall broadcast-ping enable [email protected]# set firewall name inside_to_LAN [email protected]# set firewall name inside_to_LAN default-action drop [email protected]# set firewall name inside_to_LAN description 'Allow to inside' [email protected]# set firewall name inside_to_LAN rule 9000 [email protected]# set firewall name inside_to_LAN rule 9000 action accept
Vyos NAT configure for web port 80.
[email protected]# set nat destination rule 100 description "ZABBIX Web" [email protected]# set nat destination rule 100 destination address 93.15.93.179 [email protected]# set nat destination rule 100 destination port 8080 [email protected]# set nat destination rule 100 inbound-interface eth0 [email protected]# set nat destination rule 100 protocol tcp [email protected]# set nat destination rule 100 translation address 20.10.50.60 [email protected]# set nat destination rule 100 translation port 80
Now browse any network your public ip address. Example below
http://93.15.93.179:8080/
Type Zabbix server default login or your credentials.
- How To Install Odoo 16 on Ubuntu 22.04 - May 14, 2023
- 12 Steps to Organize Photos on Your Computer - March 20, 2023
- 9 Ways to Speed Up Your MacBook Yosemite - February 21, 2023
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!