> For the complete documentation index, see [llms.txt](https://gsm-hacking.telco-sec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gsm-hacking.telco-sec.com/2g-in-a-b0x/openggsn.md).

# OpenGGSN

```
SUDO VI /etc/osmocom/osmo-ggsn.cfg
```

```
!
! OpenGGSN (0.94.1-adac) configuration saved from vty
!!
!
!
stats interval 5
!
line vty
 no login
!
ggsn ggsn0
 gtp state-dir /tmp
 gtp bind-ip 127.0.0.6
 apn internet
  gtpu-mode tun
  tun-device tun4
  type-support v4
  ip prefix dynamic 176.16.1.1/24
  ip dns 0 192.168.8.1
  ip dns 1 8.8.8.8
  ip ifconfig 176.16.1.1/24
  no shutdown
 default-apn internet
 no shutdown ggsn
```
