Hi! welcome to our workshop! Today we'd like to show a few things that you can do with computer networks!
Each group (2-3 people) has it's own router (with OpenWRT). One person should set up the router, together with rest of group, from one computer over the web interface (accessible over 192.168.1.1 - and later over 10.1.x.1 address from browser).
Set up following stuff:
Now time to verify:
1. VPN project - two sites
Server:
[Interface] PrivateKey = yourPrivateKey Address = 10.1.3.1/30 ListenPort = 51820 PostUp = ip route add 10.1.2.0/24 via 10.1.3.2 [Peer] PublicKey = OtherpartyPublicKey AllowedIPs = 10.1.2.0/24, 10.1.3.2/32
Client:
[Interface] Address = 10.1.3.2/30 PrivateKey = yourPrivateKey PostUp = ip route add 10.1.1.0/24 via 10.1.3.1 [Peer] PublicKey = OtherPartyPublickey Endpoint = publicIP:51820 AllowedIPs = 10.1.1.0/24, 10.1.3.1/32 PersistentKeepalive = 21
Generate private and public key for VPN server
wg genkey | tee privatekey | wg pubkey > publickey; cat publickey; cat privatekey