Welcome, Guest. Please login or register.

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
VPN / Re: PPTP VPN Not Accepting conections and L2TP Breaks Site-to-Site
« Last post by tuaris on June 21, 2019, 06:47:01 AM »
The problem appears to be with the firewall rules.  I tried some rules from http://blog.up-link.ro/freebsd-how-to-install-and-configure-a-pptp-server-with-mpd5-on-freebsd-8-2/ and they worked for me.   Patch is in the bug report.

https://sourceforge.net/p/t1n1wall/bugs/37/
12
General Questions / Re: Setting up for Local Development
« Last post by tuaris on June 20, 2019, 04:38:37 AM »
I was able to build a functional image using `FreeBSD 11.2-RELEASE-p10 (199506)`.  I did run into some trouble while doing so.  Specifically with WPA hostapd.  Looks like there have been some code changes to it since the release of 11.2.  The patch below resolved those issues for me.

https://sourceforge.net/p/t1n1wall/bugs/36/

Additionally I saw some error messages generated by one of the perl scripts:

Code: [Select]
Populating MiniBSD tree: /usr/t1n1wall/build11/t1n1fs/
Copy //libexec/ld-elf.so.1 -> /usr/t1n1wall/build11/t1n1fs//libexec/ld-elf.so.1 (0/0/0555)
Copy //usr/sbin/wpa_supplicant -> /usr/t1n1wall/build11/t1n1fs//usr/sbin/wpa_supplicant (0/0/0555)
Populating MiniBSD tree: /usr/t1n1wall/build11/t1n1fs/
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/[
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/test
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/cat
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/chmod
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/cp
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/date
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/dd
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/df
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/echo
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/expr
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/hostname
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/kill
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/ls
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/ln
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/mkdir
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/mv
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/ps
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/rm
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/sh
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/sleep
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/stty
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//bin/sync
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/dhcpcd
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/camcontrol
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/kldstat
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/ifconfig
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/adjkerntz
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/dmesg
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/fastboot
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/fasthalt
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/halt
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/init
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/ipfw
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/kldload
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/kldunload
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/ldconfig
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/mdconfig
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/mdmfs
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/mount
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/mount_cd9660
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/mount_msdosfs
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/newfs
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/nologin
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/ping
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/ping6
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/reboot
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/route
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/shutdown
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/sysctl
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/umount
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/sbin/hostapd
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/fetch
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/su
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/gzip
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/gunzip
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/uptime
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/w
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/killall
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/logger
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/netstat
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/nohup
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/tail
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/tar
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/top
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/bin/touch
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/sbin/ntpd
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/sbin/ntpctl
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/sbin/ancontrol
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/sbin/arp
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/sbin/chown
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/sbin/chroot
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/sbin/diskinfo
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/sbin/ndp
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/sbin/pwd_mkdb
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/sbin/traceroute
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/sbin/traceroute6
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/local/sbin/dnsmasq
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/local/bin/dudders
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/local/bin/ez-ipupdate
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//usr/local/sbin/mpd5
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/modem-stats
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/pfctl
ERROR while copying file //bin/t1n1box
Link /usr/t1n1wall/build11/t1n1fs//bin/t1n1box -> /usr/t1n1wall/build11/t1n1fs//sbin/pflogd
Warning: one or more libraries were not found!
Populating MiniBSD tree: /usr/t1n1wall/build11/t1n1fs
Copy //lib/libc.so.7 -> /usr/t1n1wall/build11/t1n1fs/lib/libc.so.7 (0/0/0444)
Copy //lib/libcrypt.so.5 -> /usr/t1n1wall/build11/t1n1fs/lib/libcrypt.so.5 (0/0/0444)
Copy //lib/libcrypto.so.8 -> /usr/t1n1wall/build11/t1n1fs/lib/libcrypto.so.8 (0/0/0444)
Copy //lib/libelf.so.2 -> /usr/t1n1wall/build11/t1n1fs/lib/libelf.so.2 (0/0/0444)
Copy //lib/libipsec.so.4 -> /usr/t1n1wall/build11/t1n1fs/lib/libipsec.so.4 (0/0/0444)
Copy //lib/libkvm.so.7 -> /usr/t1n1wall/build11/t1n1fs/lib/libkvm.so.7 (0/0/0444)
Copy //lib/libm.so.5 -> /usr/t1n1wall/build11/t1n1fs/lib/libm.so.5 (0/0/0444)
Copy //lib/libncurses.so.8 -> /usr/t1n1wall/build11/t1n1fs/lib/libncurses.so.8 (0/0/0444)
Copy //lib/libncursesw.so.8 -> /usr/t1n1wall/build11/t1n1fs/lib/libncursesw.so.8 (0/0/0444)
Copy //lib/libpcap.so.8 -> /usr/t1n1wall/build11/t1n1fs/lib/libpcap.so.8 (0/0/0444)
Copy //lib/libthr.so.3 -> /usr/t1n1wall/build11/t1n1fs/lib/libthr.so.3 (0/0/0444)
Copy //lib/libutil.so.9 -> /usr/t1n1wall/build11/t1n1fs/lib/libutil.so.9 (0/0/0444)
Copy //lib/libz.so.6 -> /usr/t1n1wall/build11/t1n1fs/lib/libz.so.6 (0/0/0444)
Copy //usr/lib/libpam.so.6 -> /usr/t1n1wall/build11/t1n1fs/usr/lib/libpam.so.6 (0/0/0444)
Copy //usr/lib/libssl.so.8 -> /usr/t1n1wall/build11/t1n1fs/usr/lib/libssl.so.8 (0/0/0444)
Copy //usr/local/lib/libreadline.so.7 -> /usr/t1n1wall/build11/t1n1fs/usr/local/lib/libreadline.so.7 (0/0/0644)
Finished Stage 4

I think those errors get generted by this line (in `4crunch.sh`):

Code: [Select]
perl $MW_BUILDPATH/freebsd11/build/minibsd/mkmini.pl $MW_BUILDPATH/freebsd11/build/minibsd/t1n1box.files  / $MW_BUILDPATH/t1n1fs/
Also this line is a little weird too.

Code: [Select]
Warning: one or more libraries were not found!
Not sure if that's a problem.  So far my built images operates exactly as your release images (PPTP VPN bug and all  ;) )
13
Feature Requests / Re: VMware Tools Installation
« Last post by tuaris on June 19, 2019, 05:13:54 AM »
The emulators/open-vm-tools-nox11 port doesn't need perl, but still pulls in python:

Code: [Select]
[email protected]:~ # pkg info
fusefs-libs-2.9.9              FUSE allows filesystem implementation in userspace
gettext-runtime-0.19.8.1_2     GNU gettext runtime libraries and programs
glib-2.56.3_3,1                Some useful routines of C programming (current stable version)
indexinfo-0.3.1                Utility to regenerate the GNU info page index
libdnet-1.12_1                 Simple interface to low level networking routines
libffi-3.2.1_3                 Foreign Function Interface
libiconv-1.14_11               Character set conversion library
libmspack-0.9.1                Library for Microsoft compression formats
libxml2-2.9.8                  XML parser library for GNOME
open-vm-tools-nox11-10.3.0_1,2 Open VMware tools for FreeBSD VMware guests
pcre-8.43                      Perl Compatible Regular Expressions library
pkg-1.10.5_5                   Package manager
python27-2.7.16                Interpreted object-oriented programming language
readline-7.0.5                 Library for editing command lines as they are typed
14
I see you patch, will look at it after this trip.  Setting the default gw is supported as a 'hidden' feature (i you put it in the config.xml it works)

I took some out of hiding to the UI, so hopefully this is simple with your patch 

https://doc.m0n0.ch/handbook/faq-hiddenopts.html
15
General Questions / Re: Setting up for Local Development
« Last post by andywhite on June 13, 2019, 09:49:59 AM »
16
General Questions / Setting up for Local Development
« Last post by tuaris on June 08, 2019, 07:45:50 PM »
Is there documentation on how to setup your local environment for development?  I've recently become more interested t1n1wall after having tried OPNSense for a year after migrating from m0n0wall.   

I'd like to try to see if I can upgrade the PHP version to 7.3 and maybe integrate two missing pieces that would make this an ideal firewall appliance.  Those two piecing being the DHCP service patch I submitted and https://www.freshports.org/net/miniupnpd/.
17
VPN / Re: PPTP VPN Not Accepting conections and L2TP Breaks Site-to-Site
« Last post by tuaris on June 07, 2019, 08:58:58 PM »
Code: [Select]
Version 2.11.1b149 built on Mon Sep 10 00:28:35 IST 2018
Platform Generic PC (serial console)
Architecture i386
18
VPN / Re: PPTP VPN Not Accepting conections and L2TP Breaks Site-to-Site
« Last post by andywhite on June 07, 2019, 08:57:53 PM »
Hi,  what version of t1n1wall are you working with ?
19
VPN / PPTP VPN Not Accepting conections and L2TP Breaks Site-to-Site
« Last post by tuaris on June 06, 2019, 07:45:13 PM »
I'm migrating from M0n0wall, I manually rebuilt my config page by page to sort of start "fresh".  PPTP was working fine in m0n0wall.

For t1n1wall, enabling the PPTP VPN appears to work according to the logs:

Code: [Select]
Jun  6 14:38:17 <daemon.info> stargate mpd: Multi-link PPP daemon for FreeBSD
Jun  6 14:38:17 <daemon.info> stargate mpd:
Jun  6 14:38:17 <daemon.info> stargate mpd: process 1605 started, version 5.8 ([email protected] 00:31 10-Sep-2018)
Jun  6 14:38:17 <daemon.info> stargate mpd: PPTP: waiting for connection on 0.0.0.0 1723

But attempting to connect from a client just times out.  Nothing is logged on the t1n1wall side.

So then I attempt L2TP/IPsec (since you have that option).  It works, very nicely except that when it's enabled, my site-to-site IPSec tunnels break with:

Code: [Select]
ERROR: phase2 negotiation failed due to time up waiting for phase1
INFO: request for establishing IPsec-SA was queued due to no phase1 found

Turning off L2TP re-enabled my site-site tunnels.
20
I'd like to see fields to override the default gateway that is given out to clients in the DHCP pool.   I created this patch: https://sourceforge.net/p/t1n1wall/bugs/35/
Pages: 1 [2] 3 4 ... 10