mirror of
				https://github.com/open5gs/open5gs.git
				synced 2025-11-02 04:53:37 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			310 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			310 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| if ! grep "ogstun" /proc/net/dev > /dev/null; then
 | |
|     ip tuntap add name ogstun mode tun
 | |
| fi
 | |
| ip addr del 10.45.0.1/16 dev ogstun 2> /dev/null
 | |
| ip addr add 10.45.0.1/16 dev ogstun
 | |
| ip addr del 2001:230:cafe::1/48 dev ogstun 2> /dev/null
 | |
| ip addr add 2001:230:cafe::1/48 dev ogstun
 | |
| ip link set ogstun up
 |