IP / network restriction on virtual server doesn’t work

Home Page Forums Network Management Signal a BUG IP / network restriction on virtual server doesn’t work

This topic contains 1 reply, has 0 voices, and was last updated by  iulyb 1 year, 5 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #44808

    iulyb
    Member

    After tryng to define a restricted access ssh server I discovered that iptables command for virtual server is wrong so that feature never worked.

    in routerpatconfig instead of

    if [ "$VIRTUALIP" != ANY ] ; then
    VIP="-d $VIRTUALIP"
    fi

    should be

    if [ "$VIRTUALIP" != ANY ] ; then
    VIP="-s $VIRTUALIP"
    fi

    I will prepare a patch.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.