Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 ... 7 8 [9] 10

Author Topic: Ronski's Pfsense router build  (Read 34802 times)

Ronski

  • Helpful
  • Kitizen
  • *
  • Posts: 3900
Re: Ronski's Pfsense router build
« Reply #120 on: May 13, 2018, 06:54:42 PM »

I fixed the issue with my connection not coming back up, stumbled across the fix by chance trying something after someone replied to my thread on the Pfsense forums.

In the Status>Routing>Gateways>Edit there is an option to make that gateway the default gateway, once I ticked that option it fixed the issue  ;D

I've got various gateways set up, but disabled, so don't know if one of those was still set as default or not.
Logged
Formerly restrained by ECI and ali,  now surfing along at 390/36  ;D

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 6348
Re: Ronski's Pfsense router build
« Reply #121 on: May 13, 2018, 07:44:47 PM »

ahh so you might have still had the plusnet gateway as default then.
Logged
AAISP - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

Ronski

  • Helpful
  • Kitizen
  • *
  • Posts: 3900
Re: Ronski's Pfsense router build
« Reply #122 on: May 13, 2018, 08:37:07 PM »

Most likely, but it was disabled, quite how a disabled gateway can be the default I don't know  ::)
Logged
Formerly restrained by ECI and ali,  now surfing along at 390/36  ;D

Jon21

  • Reg Member
  • ***
  • Posts: 158
Re: Ronski's Pfsense router build
« Reply #123 on: January 25, 2019, 02:36:56 PM »

Bit of a bump. Are you still using the Qotom for pfsense Ronski? Reason for asking is, what sort of temperature is your Qotom running at? I'm using a Qotom Q355G4 for pfsense. Temps were anywhere between 50-60c at idle. Just changed the thermal paste, using Thermal Grizzly Kryonaut and its now between 33-40c at idle. Tbf, the original thermal paste was absolutely caked all over the die, far too much applied.
Logged

Ronski

  • Helpful
  • Kitizen
  • *
  • Posts: 3900
Re: Ronski's Pfsense router build
« Reply #124 on: January 25, 2019, 04:04:34 PM »

Thanks for the heads up, mine runs around the 40 degree's mark.
Logged
Formerly restrained by ECI and ali,  now surfing along at 390/36  ;D

Ronski

  • Helpful
  • Kitizen
  • *
  • Posts: 3900
Re: Ronski's Pfsense router build
« Reply #125 on: April 20, 2020, 08:48:01 PM »

Added for my own reference  ;)

See https://forum.kitz.co.uk/index.php/topic,24600.msg414602.html#msg414602 for setting up rules to allow only the UK, instead of blocking the whole world.
Logged
Formerly restrained by ECI and ali,  now surfing along at 390/36  ;D

Ronski

  • Helpful
  • Kitizen
  • *
  • Posts: 3900
Re: Ronski's Pfsense router build
« Reply #126 on: November 07, 2020, 09:38:44 AM »

I'd been having a few issues recently but never pieced them all together until last night, thanks to my brother insisting I double check my IP address. Turns out my public IP address changed at some point recently, the main reason I hadn't twigged was because my TBB Ping monitor graph was still working, yes it has showed some downtime in the early hours recently but just assumed it was Virgin. But it transpires that VM has changed my IP and my old IP which someone else now has was still responding from pings.

Another reason I didn't realise is because pfSense hasn't sent a notification email, and I'm not sure why. I have notifications setup and they work, I get notified on a reboot, and if I hit test I get a notification.

Done a bit of Googling this morning, and that research suggests so long as I have notifications setup then I should get one when the WAN IP changes, any ideas why I didn't?

PS. I'd had the same IP address since April 2018, apart from if I use router mode on the SH3 or a different router in modem mode.
« Last Edit: November 07, 2020, 09:41:18 AM by Ronski »
Logged
Formerly restrained by ECI and ali,  now surfing along at 390/36  ;D

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 6348
Re: Ronski's Pfsense router build
« Reply #127 on: November 15, 2020, 07:34:57 PM »

I dont see an option on pfsense to notify when WAN ip changes, So I have no idea sorry.  Although I did find an old post on reddit which says the same, it should happen if you have email notifications setup, I know when I was on sky though when my ipv6 prefix changed I never got notified.
Logged
AAISP - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

Ronski

  • Helpful
  • Kitizen
  • *
  • Posts: 3900
Re: Ronski's Pfsense router build
« Reply #128 on: November 15, 2020, 08:44:55 PM »

Thanks Chrysalis, probably the same post I found. Perhaps I'll have to set something up on my server.
Logged
Formerly restrained by ECI and ali,  now surfing along at 390/36  ;D

tickmike

  • Kitizen
  • ****
  • Posts: 3441
  • Yes Another Penguin !. :)
    • Free Download from.
Re: Ronski's Pfsense router build
« Reply #129 on: November 26, 2020, 07:35:16 PM »

My set of IP's are fixed so probably I am not much help. :(
But I did see this,
   >System>Advanced>Networking>>
Tick box >Reset All States<
>Reset all states if WAN IP Address changes This option resets all states when a WAN IP Address changes instead of only states associated with the previous IP Address.<

How do you get it to send email's ?, I am new'ish to pfSence.
Logged
I RECOMMEND TRYING PCLinuxOS (www.pclinuxos.com).
I have a set of 6 fixed IP's From my Kcom Business isp.
BT ADSL2 (G992.3) line>HG612 as a Modem, Bridge, WAN Not Bound to LAN1 or 2 >pfSense (Hardware Firewall and routing) > Ethernet LAN, DMZ,WiFI LAN and Spare LAN .
DSLstats LAN2 linked Ethernet

Ronski

  • Helpful
  • Kitizen
  • *
  • Posts: 3900
Re: Ronski's Pfsense router build
« Reply #130 on: November 26, 2020, 08:09:00 PM »

How do you get it to send email's ?, I am new'ish to pfSence.

Its under System/Advanced/Notifications
Logged
Formerly restrained by ECI and ali,  now surfing along at 390/36  ;D

tickmike

  • Kitizen
  • ****
  • Posts: 3441
  • Yes Another Penguin !. :)
    • Free Download from.
Re: Ronski's Pfsense router build
« Reply #131 on: November 26, 2020, 08:24:25 PM »

  Thanks.
Logged
I RECOMMEND TRYING PCLinuxOS (www.pclinuxos.com).
I have a set of 6 fixed IP's From my Kcom Business isp.
BT ADSL2 (G992.3) line>HG612 as a Modem, Bridge, WAN Not Bound to LAN1 or 2 >pfSense (Hardware Firewall and routing) > Ethernet LAN, DMZ,WiFI LAN and Spare LAN .
DSLstats LAN2 linked Ethernet

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 6348
Re: Ronski's Pfsense router build
« Reply #132 on: November 30, 2020, 01:14:24 AM »

Ronski since pfSense has official cron support, a script could be written that does a lookup on a whats my ip type of site, then if the result changes, it sends an email.
Logged
AAISP - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

Ronski

  • Helpful
  • Kitizen
  • *
  • Posts: 3900
Re: Ronski's Pfsense router build
« Reply #133 on: November 30, 2020, 10:07:55 AM »

That is a very good point, il have to work out how to do that, thanks.
Logged
Formerly restrained by ECI and ali,  now surfing along at 390/36  ;D

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 6348
Re: Ronski's Pfsense router build
« Reply #134 on: November 30, 2020, 09:09:32 PM »

I done a quick bash script, you can try in shell, not sure if it will work on the default shell that is included with pfsense, 'pkg install bash', should get you bash though.  If you want to the default shell change the first line from bash to sh

Code: [Select]
#!/usr/bin/env bash

wanif=pppoe0
previousip=`cat /tmp/currentip`
ip=`ifconfig $wanif | grep -w inet | awk '{print $2}'`

echo $ip > /tmp/currentip

if [[ "$ip" == "$previousip" ]]; then
exit 0
else
echo "ip has changed from $previousip to $ip"  | /usr/local/bin/mail.php -s"IP changed on pfSense"
fi

run ifconfig first to see which interface has the wan ipv4, set the wanif line to that interface, you then will need to either run the script first to populate the /tmp/currentip file or manually populate it yourself.

I however see no shell command that can be used to send emails hence the commented line, so may need to install a package for that or find a way to use the pfsense mailer system from the cli.

--edit--

I found a way that works, from this post here, so edited the script in post.  This method is nice as it uses the pfSense mailer settings, so wont send e.g. if you disable the mailer in the pfSense GUI.

https://forum.netgate.com/topic/103886/solved-sending-mail-with-pfsense/4
« Last Edit: November 30, 2020, 09:20:22 PM by Chrysalis »
Logged
AAISP - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE
Pages: 1 ... 7 8 [9] 10