PortMapper on my Pi-server

Kernels & Hardware, configuring network, installing services

PortMapper on my Pi-server

Postby DanneA » 2020-04-21 05:03

What is the meaning of this answer from my Pi?

I try to make an Pi-VPN-router from the book ”Build a Smart Raspberry Pi VPN Server” and made a connection try with this command:

java -jar PortMapper.jar -s | grep ’Router Info:’

It do not work so well! I get this as a response, which is crappy...

INFO Creating router factory for class org.chris.portmapper.router.sbbi. SBBIRouter Factory
Exception in thread "main" java.lang.NullPointerException at org.chris.portmapper.router.sbbi.SBBIRouter.logRout
erInfo (SBBIRouter.java:259)
at org.chris.portmapper.PortMapperCli.printStatus(PortMapperCli.java:282 )
at org.chris.portmapper.PortMapperCli.start(PortMapperCli.java:176)
at org.chris.portmapper.PortMapperStarter.main(PortMapperStarter.java:17)

But what does it mean? What is missing or what is wrong. Please giv me a clue…
The old green again...
DanneA
 
Posts: 14
Joined: 2020-04-06 01:57
Location: Hua-Hin, Thailand

Re: PortMapper on my Pi-server

Postby pylkko » 2020-04-21 05:17

You need to offer more information, otherwise it is not possible to say. Could it be that you are following an old instruction that was valid for a older version of the operaring system?

If you want to figure out (for the purpose of learning) what is going on, then show here the exact instructions you followed, all the error messages in all logs and what versions of specifically what software you are using (especially if they are not the ones in standard Debian).

However, if you just want a working VPN server, as far as I knwo there are multiple VPN-setups for raspberry pi that work straight out-of-the-box, all you do is install the OS image and it contains all the packages you need.
User avatar
pylkko
 
Posts: 1793
Joined: 2014-11-06 19:02

Re: PortMapper on my Pi-server

Postby DanneA » 2020-04-21 06:23

Yes, I struggle to learn by doing which is a hard way... :?

I have loaded the Pi with Rasbian Buster Light and the book that I follow is Raspbian Jessie Light inspired.
In the book they use MiniUPnp which I installed and checked that it worked with the command:

upnpc -s

Hmmm...
I see that I do not need PortMapper if I get the right answer from upnpc. It is hard to learn by doing but it is in some way fun in all presentation of problems. Just the command line is an adventure to master.
I struggle on, thanks for the answer.
Mr green :D
DanneA
 
Posts: 14
Joined: 2020-04-06 01:57
Location: Hua-Hin, Thailand

Re: PortMapper on my Pi-server

Postby Head_on_a_Stick » 2020-04-21 09:31

DanneA wrote:I have loaded the Pi with Rasbian Buster Light

That is not supported here, ask on the Raspbian forums instead.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12747
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to System configuration

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable