Go to advanced search

by burnedfaceless
Tue Apr 02, 2019 9:44 pm
Forum: Networking and servers
Topic: Raspberry Pi Router not Resolving DNS
Replies: 5
Views: 582

Re: Raspberry Pi Router not Resolving DNS

You probably know this, but just to make sure: 127.0.2.1 is what DNSCrypt is listening on. BIND is configured to use 127.0.2.1 as its upstream server, but BIND itself listens on 127.0.0.1. So, 127.0.0.1 is what you want to set as the Pi's nameserver. Why it would change back after you edited /etc/d...
by burnedfaceless
Tue Apr 02, 2019 3:17 pm
Forum: Networking and servers
Topic: Raspberry Pi Router not Resolving DNS
Replies: 5
Views: 582

Re: Raspberry Pi Router not Resolving DNS

Your Pi/router should be able to resolve locally. What happens if you enter (on the router): dig @127.0.0.1 google.com If it works, BIND is listening locally and probably all you need to do is tell the rest of the Pi what its DNS resolver is... 127.0.0.1. In Raspbian that's done in /etc/dhcpcd.conf...
by burnedfaceless
Mon Apr 01, 2019 11:01 pm
Forum: Networking and servers
Topic: Raspberry Pi Router not Resolving DNS
Replies: 5
Views: 582

Raspberry Pi Router not Resolving DNS

I followed these instructions to a T https://killtacknine.com/building-an-ubuntu-16-04-router-part-5-dns/ Initially everything was working. After I restarted my Pi earlier the Pi quit resolving. When I run dig on my laptop it lists the Raspberry Pi as the DNS server (and DNS Sec works so I know DNS-...
by burnedfaceless
Sun Mar 03, 2019 8:52 pm
Forum: Networking and servers
Topic: Troubleshooting CUPS admin page
Replies: 0
Views: 106

Troubleshooting CUPS admin page

I followed these instructions to install CUPS on my Raspberry Pi 3 B+ (with latest version of Raspbian). I have a DNS server running on my network. It correctly points the domain 'printer.mytld' to '192.168.x.x'. However when I try and open 'printer.mytld:631' in my browser I get a 'bad request' mes...
by burnedfaceless
Sun Mar 03, 2019 8:13 pm
Forum: Networking and servers
Topic: How to test Fail2Ban?
Replies: 4
Views: 397

Re: How to test Fail2Ban?

How do I test fail2ban? I know I should go somewhere with a different ip Address. Do I create a virtual machine and just ssh in and see if I am banned? Basically yes, but make the bantime short (a minute or two) so you don't get bored while waiting to ensure that fail2ban turns off the ban at the a...
by burnedfaceless
Sun Mar 03, 2019 1:09 pm
Forum: Networking and servers
Topic: How to test Fail2Ban?
Replies: 4
Views: 397

How to test Fail2Ban?

I have set up an awesome router using this tutorial https://killtacknine.com/building-an-ubuntu-16-04-router-part-1-network-interfaces/ I installed fail2ban without changing any configuration. I have SSH with password disabled and public key enabled. How do I test fail2ban? I know I should go somewh...
by burnedfaceless
Fri Mar 01, 2019 11:53 am
Forum: Networking and servers
Topic: Need to learn IP Tables
Replies: 5
Views: 459

Re: Need to learn IP Tables

Personally, I would recommend looking at CSF/LFD. Not only does it protect against outside access to SSH (as per your example) via iptables, but if someone tries over and over again to gain access, it will in fact block their IP address permanently (for example) via Login Failure Daemon. It's a ste...
by burnedfaceless
Wed Feb 27, 2019 5:08 pm
Forum: Networking and servers
Topic: RPI 3B+ as advanced router
Replies: 8
Views: 3239

Re: RPI 3B+ as advanced router

Sorry I'm hungover and misread your post.
by burnedfaceless
Wed Feb 27, 2019 5:00 pm
Forum: Networking and servers
Topic: RPI 3B+ as advanced router
Replies: 8
Views: 3239

Re: RPI 3B+ as advanced router

Like dude I have had to plug a keyboard into my Pi and type sudo reboot two times since I posted that. https://www.google.com/search?q=linksys+lapn600&oq=linksy&aqs=chrome.0.69i59j0l3j69i61j69i57.6263j0j4&sourceid=chrome&ie=UTF-8 This is what I bought - but follow that guide. You may need to use oth...
by burnedfaceless
Wed Feb 27, 2019 4:58 pm
Forum: Networking and servers
Topic: Need to learn IP Tables
Replies: 5
Views: 459

Re: Need to learn IP Tables

I'm familiar with using keys and disabling SSH password based authentication. I just don't see any need where I would need to SSH into my router from the public internet. I'm going to install a VPN, so I can access my NFS. Am I being overly paranoid to want to lock down SSH (on top of using keys and...
by burnedfaceless
Wed Feb 27, 2019 3:59 pm
Forum: Networking and servers
Topic: Need to learn IP Tables
Replies: 5
Views: 459

Need to learn IP Tables

Hey,
I would like to disable SSH access from outside of my network.

But I would like to allow it from inside of my network.

I need IPTABLES to do this, correct?

Even if this can be done with UFW I need to learn IP Tables.

So I was wondering what the best resources are to learn IP Tables.
by burnedfaceless
Wed Feb 27, 2019 3:56 pm
Forum: Networking and servers
Topic: RPI 3B+ as advanced router
Replies: 8
Views: 3239

Re: RPI 3B+ as advanced router

The WiFI sucks on the pi. I bought a $100 Linksys access point. I would do that because you don't have to disable DHCP inside of your router. It does exactly what you need it to. https://killtacknine.com/building-an-ubuntu-16-04-router-part-1-network-interfaces/ This is mostly the guide I am followi...
by burnedfaceless
Tue Feb 19, 2019 1:50 am
Forum: Networking and servers
Topic: WiFi Bridge
Replies: 9
Views: 956

Re: WiFi Bridge

Ok. You need to connect the cable from usb0 on Pi1 to eth0 on Pi2. Setup Pi2 as in the bridged config you linked above, with eth0 and wlan0 in a bridge br0 in Pi2. (Br0 will get its DHCP address via Pi1) In hostapd.conf, use the same SSID and password, but change the channel. Select a non overlappi...
by burnedfaceless
Tue Feb 19, 2019 1:42 am
Forum: Networking and servers
Topic: WiFi Bridge
Replies: 9
Views: 956

Re: WiFi Bridge

Ok. You need to connect the cable from usb0 on Pi1 to eth0 on Pi2. Setup Pi2 as in the bridged config you linked above, with eth0 and wlan0 in a bridge br0 in Pi2. (Br0 will get its DHCP address via Pi1) In hostapd.conf, use the same SSID and password, but change the channel. Select a non overlappi...
by burnedfaceless
Mon Feb 18, 2019 9:49 pm
Forum: Networking and servers
Topic: WiFi Bridge
Replies: 9
Views: 956

Re: WiFi Bridge

Yea I have a firewall set up. Of course. So I tried to set up the Pi to route traffic through a second USB to Ethernet adapter (eth1). And I gave it another IP Address in the same subnet of WLAN0. I got errors that they can't be in the same subnet. I would like traffic that goes through eth1 and wla...
by burnedfaceless
Mon Feb 18, 2019 5:38 pm
Forum: Networking and servers
Topic: WiFi Bridge
Replies: 9
Views: 956

Re: WiFi Bridge

No I don't have a main router. I have a cable modem that runs into my Raspberry Pi. To get the router working I followed this tutorial more or less https://medium.com/@edoardo849/turn-a-raspberrypi-3-into-a-wifi-router-hotspot-41b03500080e I'm going to add a LAN connection to the router then I will ...
by burnedfaceless
Mon Feb 18, 2019 4:09 pm
Forum: Networking and servers
Topic: WiFi Bridge
Replies: 9
Views: 956

WiFi Bridge

I've turned my Pi into a router and I'm pleased with how well it works. I would like to add a second Pi to extend the WiFi range. I would like to connect a second Pi via ethernet in the middle of the apartment. I want the second Pi to broadcast the same WiFi network, so that the devices will connect...
by burnedfaceless
Mon Feb 18, 2019 6:25 am
Forum: Beginners
Topic: Have to run ifup every time I start
Replies: 2
Views: 133

Re: Have to run ifup every time I start

I found a solution.

In case someone comes across this thread the solution can be found here

https://stackoverflow.com/questions/145 ... every-boot
by burnedfaceless
Mon Feb 18, 2019 6:13 am
Forum: Beginners
Topic: Username PI isn't working
Replies: 9
Views: 436

Re: Username PI isn't working

You probably had a typo when you typed it.

Computers don't work that way to where they would perform that task inconsistently.
by burnedfaceless
Mon Feb 18, 2019 12:57 am
Forum: Beginners
Topic: Have to run ifup every time I start
Replies: 2
Views: 133

Have to run ifup every time I start

I followed this tutorial https://medium.com/@edoardo849/turn-a-raspberrypi-3-into-a-wifi-router-hotspot-41b03500080e And when I got it working, I noticed that when I start up my pi it does not recognize eth0 which is the port my internet comes in. I have to run sudo ifup eth0 Then my internet works....
by burnedfaceless
Sat Feb 16, 2019 2:06 pm
Forum: Networking and servers
Topic: Creating a router with a Raspberry Pi (DHCP not working)
Replies: 2
Views: 784

Re: Creating a router with a Raspberry Pi (DHCP not working)

I've tried with both Ubuntu 18.04 and Raspbian (latest version).

I would like to try and get this software working without using DNSMASQ.
by burnedfaceless
Fri Feb 15, 2019 5:09 pm
Forum: Networking and servers
Topic: Creating a router with a Raspberry Pi (DHCP not working)
Replies: 2
Views: 784

Creating a router with a Raspberry Pi (DHCP not working)

I have a Raspberry Pi 3 B+ with the latest version of Debian installed. I am trying to follow this guide to create a router/DNS/Proxy server with my Rapberry Pi. https://killtacknine.com/building-an-ubuntu-16-04-router-part-1-network-interfaces/ I haven't been able to get the DHCP server running. I'...
by burnedfaceless
Fri Feb 15, 2019 2:52 pm
Forum: Beginners
Topic: Pi not connecting to internet when plugged directly into Ethernet
Replies: 6
Views: 287

Re: Pi not connecting to internet when plugged directly into Ethernet

Its possible that your modem does not dynamically provide an IP address , but only provides an IP address to a connected device on power up. So you could try powering down the modem and the pi then power up the modem then power the pi once the modem has completed its start up. but you should probab...
by burnedfaceless
Wed Feb 13, 2019 12:59 pm
Forum: Beginners
Topic: Pi not connecting to internet when plugged directly into Ethernet
Replies: 6
Views: 287

Re: Pi not connecting to internet when plugged directly into Ethernet

It doesn't matter if I use Ubuntu 18.04 or if I use Raspbian. Whatever operating system I use - I do not get any network connection by plugging directly into the modem. I only get network connectivity when I plug into a router. Could it be possible that my modem is not assigning the pi an IP Address...
by burnedfaceless
Tue Feb 12, 2019 12:36 pm
Forum: Beginners
Topic: Pi not connecting to internet when plugged directly into Ethernet
Replies: 6
Views: 287

Pi not connecting to internet when plugged directly into Ethernet

I am trying to create a router out of my pi. I'm following the steps listed here https://killtacknine.com/building-an-ubuntu-16-04-router-part-1-network-interfaces/. When I plug my Raspberry Pi 3 B+ directly into the modem it does not connect to WiFi. However when I have it plugged into a router it ...

Go to advanced search