ModeemiWiki

Tampere computer hobby club

User Tools

Site Tools


modeemi:pub:computer-networking-event-22052026

This is an old revision of the document!


Computer networking event (22 May 2026)

Hi! welcome to our workshop! Today we'd like to show a few things that you can do with computer networks!

1. How does the networks function?

The following points will be discussed:

  1. IP addresses (IPv4)
    1. Gateway
    2. Broadcast
    3. Network
  2. Local network
    1. Set it up
    2. Take a look at packets (wireshark)
  3. Beyond local network - connecting many networks!

Useful configurations

1. VPN project - two sites

  1. first with 10.1.1.0/24 network, VPN server
  2. second with 10.1.2.0/24 network, VPN client
  3. first has 10.1.3.1/30, second has 10.1.3.2/30

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.1

[Peer]
PublicKey = OtherpartyPublicKey
AllowedIPs = 10.1.1.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.2

[Peer]
PublicKey = OtherPartyPublickey
Endpoint = publicIP:51820
AllowedIPs = 10.1.1.0/24, 10.1.3.1/32
PersistentKeepalive = 21

Useful commands

Generate private and public key for VPN server

wg genkey | tee privatekey | wg pubkey > publickey; cat publickey; cat privatekey
modeemi/pub/computer-networking-event-22052026.1779386488.txt.gz · Last modified: by niko

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki