Building configuration...

version 17.9
hostname EDGE-RTR
!
license udi pid ISR4331/K9 sn FDO1234ABCD
!
object-group network SERVERS
 host 10.1.100.10
 10.1.101.0 255.255.255.0
!
object-group network ADMINS
 10.9.0.0 255.255.0.0
 group-object SERVERS
!
object-group service WEB-PORTS
 tcp eq 80
 tcp eq 443
 tcp range 8000 8100
!
interface GigabitEthernet0/0/0
 description WAN uplink to the ISP circuit
 ip address 203.0.113.2 255.255.255.252
 ip access-group OUTSIDE-IN in
 ip nat outside
!
interface GigabitEthernet0/0/1
 description LAN trunk
 no ip address
!
interface GigabitEthernet0/0/1.100
 description Users
 encapsulation dot1Q 100
 ip address 10.1.100.1 255.255.255.0
 ip access-group USERS-IN in
 ip nat inside
!
interface GigabitEthernet0/0/1.200
 encapsulation dot1Q 200
 ip address 10.1.200.1 255.255.255.0
!
interface Vlan50
 ip address 10.1.50.1 255.255.255.0
!
interface Loopback0
 ip address 10.255.255.1 255.255.255.255
!
interface Port-channel1
 ip address 10.2.0.1 255.255.255.0
!
interface GigabitEthernet0/0/2
 channel-group 1 mode active
!
interface GigabitEthernet0/0/3
 channel-group 1 mode active
!
interface GigabitEthernet0/1/0
 switchport mode access
 switchport access vlan 10
!
ip nat inside source list NAT-ACL interface GigabitEthernet0/0/0 overload
ip route 0.0.0.0 0.0.0.0 203.0.113.1
ip route 10.50.0.0 255.255.0.0 10.1.100.254 name HQ-LAN
ip route 192.168.99.0 255.255.255.0 Null0
!
ip access-list extended USERS-IN
 remark Allow web to anywhere
 10 permit tcp 10.1.100.0 0.0.0.255 any object-group WEB-PORTS
 20 permit udp 10.1.100.0 0.0.0.255 any eq domain
 30 permit icmp 10.1.100.0 0.0.0.255 any echo
 40 permit tcp host 10.1.100.50 object-group SERVERS eq 22 log
 50 deny ip 10.1.100.0 0.0.0.255 10.9.0.0 0.0.255.255
 60 permit tcp 10.1.100.0 0.0.0.255 10.7.0.0 0.0.0.255 neq 25
 70 permit ip 10.1.100.0 0.0.0.255 any
!
ip access-list extended OUTSIDE-IN
 10 permit tcp any host 10.1.100.10 eq 443
 20 permit tcp any any eq 3389
 30 deny ip any any log
!
ip access-list extended NAT-ACL
 permit ip 10.1.0.0 0.0.255.255 any
!
access-list 10 permit 10.0.0.0 0.255.255.255
!
router ospf 1
 router-id 10.255.255.1
 passive-interface default
 no passive-interface GigabitEthernet0/0/1.100
 network 10.1.100.0 0.0.0.255 area 0
 network 10.2.0.0 0.0.0.255 area 10
 redistribute static subnets
 default-information originate
!
router bgp 65001
 bgp router-id 10.255.255.1
 neighbor 203.0.113.1 remote-as 65000
 neighbor 203.0.113.1 description ISP uplink
 neighbor 203.0.113.1 update-source GigabitEthernet0/0/0
 neighbor 203.0.113.1 route-map OUT out
 network 10.1.100.0 mask 255.255.255.0
 redistribute connected
!
end
