Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- adminuser@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
- }
- }
- }
- 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 71.236.6.116/21
- description Internet
- duplex auto
- firewall {
- in {
- name WAN_IN
- }
- local {
- name WAN_LOCAL
- }
- }
- mac F0:1F:AF:06:FA:6D
- speed auto
- }
- ethernet eth1 {
- address 10.250.250.1/24
- description Local
- duplex auto
- speed auto
- }
- ethernet eth2 {
- address 192.168.2.1/24
- description "Local 2"
- duplex auto
- speed auto
- }
- loopback lo {
- }
- }
- port-forward {
- auto-firewall enable
- hairpin-nat enable
- lan-interface eth1
- rule 1 {
- description HTTPS
- forward-to {
- address 10.250.250.200
- }
- original-port 443
- protocol tcp_udp
- }
- rule 2 {
- description HTTP
- forward-to {
- address 10.250.250.200
- }
- original-port 80
- protocol tcp_udp
- }
- rule 3 {
- description RDP
- forward-to {
- address 10.250.250.10
- }
- original-port RANDOM_PORT <-- Not a real value! :)
- protocol tcp_udp
- }
- wan-interface eth0
- }
- protocols {
- static {
- route 10.0.10.0/24 {
- next-hop 10.250.250.100 {
- description "Vlan 10"
- }
- }
- route 10.0.90.0/24 {
- next-hop 10.250.250.100 {
- description "Vlan 90"
- }
- }
- route 10.0.200.0/24 {
- next-hop 10.250.250.100 {
- description "Vlan 200"
- }
- }
- }
- }
- service {
- dns {
- forwarding {
- cache-size 150
- listen-on eth1
- listen-on eth2
- }
- }
- gui {
- http-port 80
- https-port 443
- older-ciphers enable
- }
- nat {
- rule 5010 {
- description "masquerade for WAN"
- outbound-interface eth0
- type masquerade
- }
- }
- ssh {
- port 22
- protocol-version v2
- }
- }
- system {
- gateway-address 71.236.0.1
- host-name ubnt
- login {
- user adminuser {
- authentication {
- encrypted-password ****************
- }
- level admin
- }
- }
- name-server 8.8.8.8
- 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 {
- ipv4 {
- forwarding enable
- gre enable
- pppoe enable
- vlan enable
- }
- }
- syslog {
- global {
- facility all {
- level notice
- }
- facility protocols {
- level debug
- }
- }
- }
- time-zone America/New_York
- }
Add Comment
Please, Sign In to add comment