WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: PiCore v14.1 443 port not working  (Read 218 times)

Offline peppi001

  • Newbie
  • *
  • Posts: 6
PiCore v14.1 443 port not working
« on: February 20, 2025, 02:42:51 AM »
Hi,  I've got some problem with PiCore v14.1 a few days ago.
I can't download with wget from github.
Connecting to github.com (140.82.121.4:443)
wget: download timed out

The git clone command doesn't work either.

It's not a network error, because on the same network with my desktop PC can download from github.
And I've got the same problem with the same setup on another location.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14958
Re: PiCore v14.1 443 port not working
« Reply #1 on: February 20, 2025, 03:59:04 AM »
Is the time set properly?

If not run "sudo getTime.sh" and "date" to check.

Offline ovacikar

  • Jr. Member
  • **
  • Posts: 77
Re: PiCore v14.1 443 port not working
« Reply #2 on: February 20, 2025, 06:22:48 AM »
No problems on picore 15

Code: [Select]
wget https://github.com
Connecting to github.com (140.82.112.3:443)
saving to 'index.html'
index.html           100% |********************************|  274k  0:00:00 ETA
'index.html' saved
« Last Edit: February 20, 2025, 06:24:45 AM by ovacikar »

Offline peppi001

  • Newbie
  • *
  • Posts: 6
Re: PiCore v14.1 443 port not working
« Reply #3 on: February 20, 2025, 07:25:51 AM »
Date is ok:
Code: [Select]
tc@xxx:/mnt/mmcblk0p2/tce/tmp/download$ wget [url]https://github.com[/url]
Connecting to github.com (140.82.121.3:443)
wget: download timed out
tc@xxx:/mnt/mmcblk0p2/tce/tmp/download$ date
Thu Feb 20 13:24:08 CET 2025

Offline peppi001

  • Newbie
  • *
  • Posts: 6
Re: PiCore v14.1 443 port not working
« Reply #4 on: February 20, 2025, 09:25:06 AM »
This is the problem:
Code: [Select]
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.8.0.1        128.0.0.0       UG    0      0        0 tun0
default         OpenWrt.home    0.0.0.0         UG    0      0        0 eth0

There are 2 default gateways.
But I don't know now how to resolve this error.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11860
Re: PiCore v14.1 443 port not working
« Reply #5 on: February 20, 2025, 09:50:18 AM »
Hi peppi001
I'm guessing you want to remove the 10.8.0.1 entry.
Try this:
Code: [Select]
sudo route del -net 10.8.0.1 netmask 128.0.0.0

Offline peppi001

  • Newbie
  • *
  • Posts: 6
Re: PiCore v14.1 443 port not working
« Reply #6 on: February 20, 2025, 10:16:21 AM »
This command worked:
Code: [Select]
sudo route delete default gw 10.8.0.1 netmask 128.0.0.0 tun0
But this is a temporary solution I think.
I must check the VPN settings.
THX

Offline ovacikar

  • Jr. Member
  • **
  • Posts: 77
Re: PiCore v14.1 443 port not working
« Reply #7 on: February 20, 2025, 11:49:03 AM »
In order to send all traffic through VPN you need to add a specific route for your VPN server IP to use eth0
only after that you can remove the eth0 default gateway and add the tun0 default gateway

Code: [Select]
sudo route add <VPN server IP>/32 gw <default gw for eth0>



« Last Edit: February 20, 2025, 11:54:43 AM by ovacikar »

Offline peppi001

  • Newbie
  • *
  • Posts: 6
Re: PiCore v14.1 443 port not working
« Reply #8 on: February 21, 2025, 02:05:44 AM »
I don't want to send all traffic through VPN. (This is my problem)

Offline peppi001

  • Newbie
  • *
  • Posts: 6
Re: PiCore v14.1 443 port not working
« Reply #9 on: February 21, 2025, 02:31:26 AM »
On VPN server side I commented out this line:
#push "redirect-gateway def1 bypass-dhcp"
and now everything working fine.

But I don't know how to worked so far :)

Thanks for all your help.