set up wifi hotspot (share internet connection)

Liviu Andronic landronimirc at gmail.com
Wed May 15 13:07:31 UTC 2013


Hello,


On Wed, May 15, 2013 at 11:09 AM, Nils Kassube <kassube at gmx.net> wrote:
>> I tried to add a firewall rule that "allow in" from "LaptopB_IP port
>> 53/tcp" to "LaptopA_IP port 53/tcp", but this doesn't help. Any ideas
>> how to correctly set up the firewall rules in this case?
>
> I don't claim to be a networking expert, so please someone correct me if
> this is wrong:
>
> From your initial inquiry I remember that you want to share your
> internet connection. Therefore you should setup a firewall rule for
> routing traffic from laptop B through laptop A to the internet, probably
> including NAT. Furthermore you can't know the source port on laptop B
> for the DNS traffic and probably you should also grant UDP access to
> port 53 on laptop A.
>
Thanks for the pointers, but unfortunately I'm still not sure what
this means in terms of ufw/Gufw. I found this hostapd and ufw guide
(in French: http://doc.ubuntu-fr.org/hostapd ), but I don't quite
understand what the suggested ufw commands mean so I'm a bit wary
about using them.

Could anyone give me some clear ufw/Gufw instructions?

Regards,
Liviu




More information about the ubuntu-users mailing list