Raspberry Pi + OpenWRT + OpenConnect + LAN Connection

my old friend

Why ?

retropie performance is great

pre requirement:

  • an RJ 45 cable with internet access or if you are a geek with more money setup a LTE module and using WWAN
  • a raspberry pi ( 3b+ or 4 ) because of this two model have wifi module and ethernet module in same time.
  • an anyconnect(openconnect) vpn account

flash openWRT on raspberry pie

sudo gzip -dc /home/your_username/image.gz | dd bs=4M of=/dev/sdb

Config Time

the openwrt login page
user: root
password: root
LAN wireless interface
dhcp client for getting internet
firewall forwarding rule to WAN

install and setup openconnect on openWRT

install openconnect on openWRT
openssl s_client -connect yourserver -showcerts 2>/dev/null </dev/null | awk '/-----BEGIN/,/-----END/ { print
$0 }' | openssl x509 -noout -fingerprint -sha1 | sed 's/Fingerprint=//' | sed 's/://g'
change ssid and password



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store