Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elcome to EdgeOS
- By logging in, accessing, or using the Ubiquiti product, you
- acknowledge that you have read and understood the Ubiquiti
- License Agreement (available in the Web UI at, by default,
- http://192.168.1.1) and agree to be bound by its terms.
- ubnt login: ubnt
- Password:
- Last login: Sun Mar 29 12:41:09 UTC 2020 from 192.168.1.112 on pts/0
- Linux ubnt 3.10.107-UBNT #1 SMP Mon Oct 1 12:41:38 UTC 2018 mips
- Welcome to EdgeOS
- ubnt@ubnt:~$ show configuration
- firewall {
- all-ping enable
- broadcast-ping disable
- ipv6-receive-redirects disable
- ipv6-src-route disable
- ip-src-route disable
- log-martians enable
- name WAN_IN {
- default-action drop
- description "WAN to internal"
- rule 10 {
- action accept
- description "Allow established/related"
- state {
- established enable
- related enable
- }
- }
- rule 20 {
- action drop
- description "Drop invalid state"
- state {
- invalid enable
- }
- }
- rule 21 {
- action accept
- description https
- destination {
- address 192.168.1.112
- port 443
- }
- log disable
- protocol tcp
- }
- }
- name WAN_LOCAL {
- default-action drop
- description "WAN to router"
- rule 10 {
- action accept
- description "Allow established/related"
- state {
- established enable
- related enable
- }
- }
- rule 20 {
- action drop
- description "Drop invalid state"
- state {
- invalid enable
- }
- }
- }
- receive-redirects disable
- send-redirects enable
- source-validation disable
- syn-cookies enable
- }
- interfaces {
- ethernet eth0 {
- address dhcp
- description Internet
- duplex auto
- firewall {
- in {
- name WAN_IN
- }
- local {
- name WAN_LOCAL
- }
- }
- speed auto
- }
- ethernet eth1 {
- description Local
- duplex auto
- speed auto
- }
- ethernet eth2 {
- description Local
- duplex auto
- speed auto
- }
- ethernet eth3 {
- description Local
- duplex auto
- speed auto
- }
- ethernet eth4 {
- description Local
- duplex auto
- speed auto
- }
- loopback lo {
- }
- switch switch0 {
- address 192.168.1.1/24
- description Local
- switch-port {
- interface eth1 {
- }
- interface eth2 {
- }
- interface eth3 {
- }
- interface eth4 {
- }
- }
- }
- }
- port-forward {
- auto-firewall enable
- hairpin-nat enable
- lan-interface eth1
- rule 1 {
- description ttds_1
- forward-to {
- address 192.168.1.112
- }
- original-port 10001
- protocol tcp_udp
- }
- rule 2 {
- description ttds_adv
- forward-to {
- address 192.168.1.112
- }
- original-port 3978
- protocol tcp_udp
- }
- rule 3 {
- description Apache
- forward-to {
- address 192.168.1.112
- }
- original-port 443
- protocol tcp_udp
- }
- rule 4 {
- description rt_film
- forward-to {
- address 192.168.1.112
- }
- original-port 51411
- protocol tcp_udp
- }
- rule 5 {
- description rt_serier
- forward-to {
- address 192.168.1.112
- }
- original-port 51410
- protocol tcp_udp
- }
- rule 6 {
- description rt_musik
- forward-to {
- address 192.168.1.112
- }
- original-port 51413
- protocol tcp_udp
- }
- rule 7 {
- description rt_apps
- forward-to {
- address 192.168.1.112
- }
- original-port 51412
- protocol tcp_udp
- }
- wan-interface eth0
- }
- service {
- dhcp-server {
- disabled false
- hostfile-update disable
- shared-network-name LAN {
- authoritative enable
- subnet 192.168.1.0/24 {
- default-router 192.168.1.1
- dns-server 192.168.1.1
- lease 86400
- start 192.168.1.38 {
- stop 192.168.1.243
- }
- }
- }
- }
- dns {
- forwarding {
- cache-size 150
- listen-on switch0
- }
- }
- gui {
- https-port 443
- }
- nat {
- rule 1 {
- description https443
- destination {
- address 158.174.183.159
- port 443
- }
- inbound-interface eth0
- inside-address {
- address 192.168.1.112
- port 443
- }
- log disable
- protocol tcp
- type destination
- }
- rule 2 {
- description hairpin443
- destination {
- address 158.174.183.159
- port 443
- }
- inbound-interface eth1
- inside-address {
- address 192.168.1.112
- port 443
- }
- log disable
- protocol tcp
- type destination
- }
- rule 5010 {
- description "masquerade for WAN"
- outbound-interface eth0
- type masquerade
- }
- rule 5011 {
- description hairpin
- destination {
- address 192.168.1.112
- port 443
- }
- log disable
- outbound-interface eth1
- protocol tcp
- source {
- address 192.168.1.0/24
- }
- type masquerade
- }
- }
- ssh {
- port 22
- protocol-version v2
- }
- }
- system {
- host-name ubnt
- login {
- user ubnt {
- authentication {
- encrypted-password ****************
- }
- level admin
- }
- }
- ntp {
- server 0.ubnt.pool.ntp.org {
- }
- server 1.ubnt.pool.ntp.org {
- }
- server 2.ubnt.pool.ntp.org {
- }
- server 3.ubnt.pool.ntp.org {
- }
- }
- offload {
- hwnat enable
- ipsec enable
- }
- syslog {
- global {
- facility all {
- level notice
- }
- facility protocols {
- level debug
- }
- }
- }
- time-zone UTC
- }
- ubnt@ubnt:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement