You are not logged in.

#1 2022-11-08 22:13:12

j3bx
Member
Registered: 2022-11-08
Posts: 1

UFW allow hotspot (AP) connections

Hi, I have my machine connected via Ethernet to my router, sharing the connection using a WiFi dongle which supports AP. On network-manager I use the following configuration:

[connection]
id=wifi_hotspot
uuid=[redacted]
type=wifi
interface-name=wlp1s0f0u5

[wifi]
band=bg
mode=ap
ssid=[redacted]

[wifi-security]
key-mgmt=wpa-psk
proto=rsn;
psk=[redacted]

[ipv4]
method=shared

[ipv6]
addr-gen-mode=stable-privacy
method=auto

Wich works, but since I started using UFW, the firewall keeps blocking all the connection attempts, which make sense, however I did not find any information about how to make UFW allow the AP only.

Journalclt gives the following output (I hope there is nothing personal there):

[UFW BLOCK] IN=wlp1s0f0u5 OUT= MAC=[redacted] SRC=10.42.0.63 DST=10.42.0.1 LEN=71 TOS=0x00 PREC=0x00 TTL=64 ID=62214 DF PROTO=UDP SPT=62945 DPT=53 LEN=51

Allowing 10.42.0.63/24 to every port seems to give no results, I also do not want to open all the ports to the wireless interface, any help would be wildly appreciated.


wink

Offline

Board footer

Powered by FluxBB