So after a bit more reading, I found I needed to set up NAT and masquerading, so I put the following into rules.before: # NAT table rules Using Wireshark I can see DNS requests being made on both enp0s3 and enp0s8, but the ones on enp0s3 have no reply. I followed some instructions to add some "route allow" rules such as it results in: ufw status verboseĭefault: deny (incoming), deny (outgoing), allow (routed)Ĩ.8.8.8 on enp0s3 ALLOW FWD Anywhere on enp0s8Ĩ.8.4.4 on enp0s3 ALLOW FWD Anywhere on enp0s8ġ0.0.1.5 on enp0s8 ALLOW FWD Anywhere on enp0s3ġ0.0.1.5 is my private PC. To start with, I wanted to see if I could just allow DNS from the private box through the Ubuntu. The Ubuntu box has two NICs, one is internet facing (enp0s3), one is facing this single private PC (enp0s8). I am trying to use Ubuntu as a router of a kind by limiting a computer on my private network to what it can connect to on the internet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |