OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of aaronouthier »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - aaronouthier

Pages: [1]
1
19.1 Legacy Series / Trouble installing NeoRouter
« on: March 15, 2019, 03:20:36 pm »
Hello,

I found an interesting VPN Product that I am trying out. They have a version for FreeBSD, which I have installed, but it won't run. Complains about missing dependency "libstdc++". I don't know how to install this dependency. I have tried "pkg install libstdc++", "pkg install libstdc", "pkg install stdc++", etc. I am unable to find any such package!

I am not so familiar with FreeBSD as I am with Linux distros.

What am I doing wrong??

2
Development and Code Review / Requesting help compiling a simple program for use with OpnSense.
« on: February 27, 2019, 03:03:59 am »
App source can be found at:
https://github.com/nomeata/udp-broadcast-relay

I have installed Git with
Code: [Select]
pkg install git
Make failed, since there is no GCC program. I edited the Makefile, and replaced
Code: [Select]
gcc -g with
Code: [Select]
cpp .

Now, it is failing with
Code: [Select]
main.c:52:10: fatal error: 'linux/if.h' file not found
#include <linux/if.h>
         ^~~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.

Fixing this involves going deeper than I am comfortable.

3
19.1 Legacy Series / How to setup and use 1:1 NAT
« on: February 27, 2019, 12:21:38 am »
Hello,
I just switched from PFSense to OpnSense, since my aging APU1D4 isn't going to be supported after the next update to PFSense.

Here is the situation: I live in a house with 3 other people, and I setup my router behind the ISP's router in a Double-NAT configuration. This is mostly for privacy - I don't want opportunistic room mates using my printer, etc.

I DO have one device that I need to expose to the outer network, however. I posted on the forum for that device, to ask what ports need to be forwarded, and they informed me that the device needs to be on the same subnet as the computer that is interfacing with it. Basically, I have a network TV Tuner, that needs to be on 2 different networks at the same time, but without the Tuner knowing about the other network. If I understand correctly, I need to setup 1:1 NAT, on a virtual IP address on the WAN. I am going crazy trying to get it going, however!

So, my ISP router has a DHCP server issuing leases on the 192.168.254.0/24 subnet. Inside of that, I have my OpnSense router with a Static IP address of 192.168.254.252 and a 24-bit netmask. Gateway 192.168.254.254, which is the IP of the ISP's router. I have confirmed that 254.252 is outside of the ISP's router's DHCP Pool.

My TV Tuner is on IP address 192.168.1.2, and is behind my OpnSense Firewall. I created a Virtual IP address of 192.168.254.253 on the WAN address of the OpnSense router, and am trying to cause all traffic intended for 192.168.254.253 to forward transparently to 192.168.1.2, kind of like what is referred to as a DMZ on other routers.

Am I even going about this the correct way? Thus far, I have been unable to connect to the embedded Web Server on the TV Tuner from any machine on the 254.0/24 subnet by opening a browser and pointing it to '192.168.1.253' with my previous efforts. Then again, I've never before tried to setup a 1:1 NAT mapping before, and I'm not exactly familiar with how it works, which makes it all the more daunting.

Some insight here would help.

--Aaron

P.S.: I've searched the forums to see if my question was already answered, but I only found a bunch of vague questions, with 0 replies.

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2