# Setup Gateway 1. update and upgrade ``` sudo apt-get update && sudo apt-get upgrade ``` 2. install tmux ``` sudo apt-get install tmux ``` 3. install apache ``` sudo apt install apache2 ``` 4. install ovpn ``` sudo apt install openvpn -y ``` 5. create new session tmux ``` tmux new -s session_name ``` 6. run ovpn and setup config ``` sudo openvpn --config client.ovpn // client.ovpn is your openvpn profile that given from BRIIT ``` 7. detached the program to make your program run on the background ``` ctrl+b+d ``` 8. create new session on tmux ``` tmux new -s session_name ``` 6. run your script to open localhost > example I want run python program ``` python main.py ``` 7. detached the program to make your program run on the background ``` ctrl+b+d ``` now your localhost port can access by another computer as long as same network, if cannot access, please check the firewall > happy code, > Mahdi Ramadhan