Skip to content

Instantly share code, notes, and snippets.

@pandax381
Created February 26, 2023 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pandax381/9899883e522454bb64d33fb34ae2d24c to your computer and use it in GitHub Desktop.
Save pandax381/9899883e522454bb64d33fb34ae2d24c to your computer and use it in GitHub Desktop.
MAP-E Gateway for use with UniFi UDM
ip ufs-cache max-entries 20000
ip ufs-cache enable
ip route default Tunnel0.0
!
ipv6 ufs-cache enable
!
ipv6 dhcp client-profile dhcpv6-cl
information-request
option-request dns-servers
!
interface GigaEthernet0.0
no ip address
ipv6 enable
ipv6 address autoconfig receive-default
ipv6 dhcp client dhcpv6-cl
no shutdown
!
interface GigaEthernet1.0
ip address 192.168.0.0/31
no shutdown
!
interface Tunnel0.0
tunnel mode map-e ocn
ip address map-e
ip tcp adjust-mss auto
ip napt enable
no shutdown
!
@pandax381
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment