Networking Problems Outside of Network

thehedron

Cadet
Joined
Jun 27, 2020
Messages
4
Hello everyone,
This is my first post as I have recently built a pc to host FreeNas. I would say I am a definite novice when it comes to networking, but I am pretty usually pretty good at troubleshooting tech problems. I have not been having much luck with this though. I am trying to get my freenas to have plugins so I can get a vpn and plex on it. I can as of right now still access the contents of the drive on my network via other computer and access the GUI. However I don't think my freenas system is able to access anything outside of my network.

This is what I get when click on the Plugins tab:
Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/hal/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git stderr: 'Cloning into '/mnt/hal/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git'... fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Could not resolve host: github.com '

This is what I get when I try to create a jail:
HTTPSConnectionPool(host='www.freebsd.org', port=443): Max retries exceeded with url: /security/unsupported.html (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 8] hostname nor servname provided, or not known'))

My nameservers 1 and 2 match my routers DNS.

IPV4address:
192.168.0.31/24
dns 205.171.3.25
dns 205.171.2.25

Like I said this is my first post and I am still learning about networking so any help is appreciated. Please let me know if you have any suggestions.

Thank you,
 

Attachments

  • Connection Error for Jails.txt
    5 KB · Views: 227
  • Plugins Failed.txt
    2.8 KB · Views: 216

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Do you have a default gateway defined on your FreeNAS?
 

thehedron

Cadet
Joined
Jun 27, 2020
Messages
4
As in IPV4 or IPV6 settings under Network, Global Configuration. I have those blank. If they need to be filled in, where should I look to figure out what should be there?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Try using the same gateway as your PC.
 

thehedron

Cadet
Joined
Jun 27, 2020
Messages
4
I found the modem ipv4 address in my modem gui. When I try and use that for the ipv4 default gateway option I get
"Gateway is unreachable" in red letters and it wont let me save it.
 

no_connection

Patron
Joined
Dec 15, 2013
Messages
480
You probably tried using the gateway your router uses which is at your ISP.
You need to enter your router IP as gateway on your FreeNAS box.
 

thehedron

Cadet
Joined
Jun 27, 2020
Messages
4
Boom! That did it! Thank you no_connection and Samuel for your help. I am now able to see the plugins page and in shell I can ping google.com and it shows data sending.
 

mdegracia2

Cadet
Joined
Nov 18, 2021
Messages
3
Try using the same gateway as your PC.
I have a similar issue, but I'm able to get it to work. I ran ipconfig on my computer and it shows the default gateway and I put that in the truenas network global settings / servername1 and Default Gateway.
 

Attachments

  • Screenshot 2023-01-18 151953.png
    Screenshot 2023-01-18 151953.png
    38.3 KB · Views: 232
  • Screenshot 2023-01-18 152056.png
    Screenshot 2023-01-18 152056.png
    21.5 KB · Views: 232
  • Screenshot 2023-01-18 152139.png
    Screenshot 2023-01-18 152139.png
    21.1 KB · Views: 169
  • Screenshot 2023-01-18 152203.png
    Screenshot 2023-01-18 152203.png
    38 KB · Views: 244
  • plugin error.txt
    2 KB · Views: 74

mdegracia2

Cadet
Joined
Nov 18, 2021
Messages
3
I have a similar issue, but I'm able to get it to work. I ran ipconfig on my computer and it shows the default gateway and I put that in the truenas network global settings / servername1 and Default Gateway.
Sorry, I meant to say that "I am NOT able to get it to work"
 
Top