• Changing the Standard port number used

    From Vincent Coen@2:250/1 to All on Wed Apr 13 15:39:48 2022
    Hello All!

    I want to set up a second bbs system on a Raspberry pi to handle a simple-ish service namely for ELIST.

    As my main system uses the default of 24554 I have port forwarding set on the router to the main system but need to do the same for port 24555 for the Pi.

    Question how do I change the mbse set up to use this change of port as I cannot
    find anywhere where this is defined.


    Any one have a clue to finding this and changing it ?


    Vincent

    --- Mageia Linux v8 X64/Mbse v1.0.8/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Louis Northmore@2:250/8.1 to Vincent Coen on Wed Apr 13 17:09:46 2022
    //Hello Vincent,//

    on *4/13/2022* at *14:39:48* You wrote in area *MBSE*
    to *All* about *"Changing the Standard port number used"*.

    [snip]

    As my main system uses the default of 24554 I have port forwarding set on the router to the main system but need to do the same for port 24555 for the Pi.

    Question how do I change the mbse set up to use this change of port as I cannot
    find anywhere where this is defined.


    Any one have a clue to finding this and changing it ?

    Id be tempted to solve this just using the port forwarding. So just forward port 24555 > IPAddressOfPi > 24554

    If you are determined to change the ports for any configured services, MBSE uses inetd right?

    check out the setup.sh script - at the end of this it configures /etc/services which the inetd service uses.
    My first step would be to edit /etc/services then try a reboot and see if inetd/xinetd picks up the new service config.

    HTH

    Louis
    --- WinPoint 400.2
    * Origin: Another Random *WinPoint* Origin! (2:250/8.1)
  • From Vincent Coen@2:250/1 to Louis Northmore on Wed Apr 13 17:48:19 2022
    Hello Louis!

    Wednesday April 13 2022 17:09, you wrote to me:

    //Hello Vincent,//

    on *4/13/2022* at *14:39:48* You wrote in area *MBSE*
    to *All* about *"Changing the Standard port number used"*.

    [snip]

    As my main system uses the default of 24554 I have port
    forwarding set on the router to the main system but need to do
    the same for port 24555 for the Pi.

    Question how do I change the mbse set up to use this change of
    port as I cannot find anywhere where this is defined.


    Any one have a clue to finding this and changing it ?

    Id be tempted to solve this just using the port forwarding. So just
    forward port 24555 > IPAddressOfPi > 24554

    That should do it - thanks for reminding me.


    If you are determined to change the ports for any configured services,
    MBSE uses inetd right?

    check out the setup.sh script - at the end of this it configures /etc/services which the inetd service uses. My first step would be to
    edit /etc/services then try a reboot and see if inetd/xinetd picks up
    the new service config.

    Yes that is set for 24554 but I do not know what actually this does in relation
    to mbse.

    Documentation is a bit poor on this in the mbse docs.

    I will stick to your first idea - well at least until it doesn't work, that is.

    Vincent

    --- Mageia Linux v8 X64/Mbse v1.0.8/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Alan Ianson@1:153/757 to Vincent Coen on Wed Apr 13 14:41:36 2022
    I want to set up a second bbs system on a Raspberry pi to handle a simple-ish service namely for ELIST.

    As my main system uses the default of 24554 I have port forwarding set on the router to the main system but need to do the same for port 24555 for the Pi.

    Change the binkp port in /etc/services to 24555 on that machine.

    Question how do I change the mbse set up to use this change of port as I cannot find anywhere where this is defined.

    I'm not sure if MBSE can be configured to use a different port.

    Any one have a clue to finding this and changing it ?

    Changing the port in /etc/services has worked for me in the past.

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Vincent Coen@2:250/1 to Alan Ianson on Thu Apr 14 00:14:48 2022
    Hello Alan!

    Wednesday April 13 2022 14:41, you wrote to me:

    I want to set up a second bbs system on a Raspberry pi to handle a
    simple-ish service namely for ELIST.

    As my main system uses the default of 24554 I have port forwarding
    set on the router to the main system but need to do the same for
    port 24555 for the Pi.

    Change the binkp port in /etc/services to 24555 on that machine.

    Question how do I change the mbse set up to use this change of port
    as I cannot find anywhere where this is defined.

    I'm not sure if MBSE can be configured to use a different port.

    Any one have a clue to finding this and changing it ?

    Changing the port in /etc/services has worked for me in the past.

    Thanks done that as well.


    Vincent

    --- Mageia Linux v8 X64/Mbse v1.0.8/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Sean Dennis@1:18/200 to Vincent Coen on Thu Apr 14 00:21:44 2022
    Hello Vincent,

    13 Apr 22 15:39, you wrote to All:

    Any one have a clue to finding this and changing it ?

    Change the port number in /etc/services and restart (x)inetd.

    That's it. :)

    -- Sean

    ... A bike in town keeps running me over. It's a vicious cycle.
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Outpost BBS (MBSE BBS Dev Team) (1:18/200)
  • From Andrew Leary@1:320/219 to Vincent Coen on Thu Apr 14 00:32:16 2022
    Hello Vincent!

    13 Apr 22 15:39, you wrote to all:

    I want to set up a second bbs system on a Raspberry pi to handle a simple-ish service namely for ELIST.

    As my main system uses the default of 24554 I have port forwarding set
    on the router to the main system but need to do the same for port
    24555 for the Pi.

    Question how do I change the mbse set up to use this change of port as
    I cannot find anywhere where this is defined.

    Any one have a clue to finding this and changing it ?

    Change the binkp entry in /etc/services on your Raspberry Pi to 24555/tcp. Then restart (x)inetd and you should be done. The other option is to have your router forward incoming for port 24555 to port 24554 on the RPi.

    Regards,

    Andrew

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Phoenix BBS * phoenix.bnbbbs.net (1:320/219)