Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Major F*ck-up with the gateway (my own fault, help please)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Major F*ck-up with the gateway (my own fault, help please) (Read 710 times)
dergroddi
Newbie
Posts: 6
Karma: 0
Major F*ck-up with the gateway (my own fault, help please)
«
on:
April 21, 2023, 08:52:42 am »
Hi,
in my setup I have two networks (192.168.1.x for main, 10.10.10.x for IOT devices). I also have a Raspi Pi Zero W with a camera mounted inside my birdhouse (which - at the moment - is filled with eggs about to hatch, so no physical access possible as not to disturb or drive away the bird parents).
Normally this birdhouse device is on DHCP with IP 10.10.10.10, gateway 10.10.10.1 and DNS 192.168.1.2 (which is my Pi-Hole). Since I had connection issues with the birdhouse I wanted to see if a static IP address instead of DHCP would solve my problem.
So I went in and changed the static IP to 10.10.10.10, the DNS to 192.168.1.2 and
THE GATEWAY to 192.168.1.1 (instead of 10.10.10.1)
. And now I cannot connect AT ALL.
Is there any way I can fix this without being able to access the SD card from the Zero W?
Logged
bimbar
Sr. Member
Posts: 430
Karma: 25
Re: Major F*ck-up with the gateway (my own fault, help please)
«
Reply #1 on:
April 21, 2023, 09:35:31 am »
Sure, 2 options:
- activate outbound NAT on that interface
- ssh to your opnsense and then from there to your raspi
All that so the raspi does not have to use its gateway.
Logged
dergroddi
Newbie
Posts: 6
Karma: 0
Re: Major F*ck-up with the gateway (my own fault, help please)
«
Reply #2 on:
April 21, 2023, 03:26:44 pm »
Perfect, I ssh-ed into my opnsense and from there to the birdcam.
Thank you for this valuable advice, I learned something useful
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Major F*ck-up with the gateway (my own fault, help please)