Sudo openvpn –config “/etc/openvpn/_udp.ovpn” –auth-user-pass “/etc/openvpn/auth. Iptables – restore /etc/iptables.restore”Įcho “up iptables-restore < /etc/iptables.restore” | sudo tee –append /etc/network/interfaces Sudo iptables – A FORWARD – i wlan1 – o wlan0 – j ACCEPT Sudo iptables – A FORWARD – m conntrack -ctstate RELATED, ESTABLISHED – j ACCEPT Sudo iptables – t nat – A POSTROUTING – o wlan0 – j MASQUERADE Enabling traffic forwarding and forwarding rule configuration: confĭAEMON_CONF = “” to DAEMON_CONF = “ /etc/hostapd/nf” The WiFi configuration file does not exist and needs to be created. If you are using the original Pi Zero, you will need some form of WiFi Adapter and a way to connect it: cable or adapter. defaultĭhcp – range = 192.168.111.1, 192.168.111.20, 255.255.255.0, 24hĬonfiguring a Wireless Access Point 5. The Pi Zero W has built in WiFi so nothing additional is required. Static IP address for wlan1:ĭenyinterfaces wlan1 4. Sudo apt – get install hostapd dnsmasq – yĭHCP Configuration 3. Sudo apt – get update & sudo apt – get upgrade – y Micro sd card class 10 (I used 8 GB SanDisk ultra).By admin Decem6120 Views If you want to keep your privacy and safety when browsing on the internet in a café or if you want to avoid region based content restrictions.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |