Hello,
I'm looking to run a socks5 proxy on the WAN interface for external use (for friends and family to bypass country firewall block)
Now, I am familiar with Linux (i.e. I have Arch Linux running), however I'm little kind of stuck with freebsd (and by extension opnsense)
Looks like there are packages such as nylon, ss5 and 3proxy, (I'm especially interested in ss5) however none of these are available in the repositories. How would I add a repository from a freebsd, or how would I go about installing a port?
Well, I found a crude way of installing a port, if anyone else is interseted in this in the future:
1. install wget
pkg install wget
2. cd ~
to get to your home directory
3. Download ports repo from github
wget https://github.com/freebsd/freebsd-ports/archive/master.tar.gz
4.deflate tar xvzf master.tar.gz
5. Navigate to ss5 directory cd freebsd-ports-master/net/ss5
6. compile make
7. Copy the package files into their right places
cd work/stage
cp -a ./* /
Feel free to comment if there's a better way, but this is what I could come up with with my limited knowledge of freebsd.
too complex - opnsense-code tools ports and then you have the build ports tree under /usr/ from where you can build using make and make install
Well, this is definitely an easier way. I also didn't realise make install would work from the ports tree, like it does for regular sources. Thank you.
I'll list the steps for completeness:
1. As fabian mentioned, install tools and ports:
opnsense-code tools ports
2. Navigate to /usr/ports/net/ss5
cd /usr/ports/net/ss5
3. build and install
make
make install