Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Network address translation/Address mapping?

  • 24-09-2014 1:40pm
    #1
    Registered Users, Registered Users 2 Posts: 689 ✭✭✭


    Hi,

    First off I have a Zyxel F1000 router. What I would like to do is translate a global ip 88.??? to the local IP 192.??? when I am in my LAN. So for example is I try to ssh root@88.??? the router would translate it to root@192.???.
    I thought I could do this in the address mapping part of the router but that isnt working.

    Any ideas what I need to do ?


Comments

  • Registered Users, Registered Users 2 Posts: 6,309 ✭✭✭T-K-O


    If you're on the local LAN trying to login to the router use the private gateway address (.254). If you're trying to access the router from outside the LAN look into port forwarding.


  • Registered Users, Registered Users 2 Posts: 689 ✭✭✭stylie


    Thanks, but that's not what I asked.


  • Registered Users, Registered Users 2 Posts: 5,401 ✭✭✭DublinDilbert


    You need to use port forwarding and forward on the correct port for ssh, which is 22 from memory. So any requests from outside to the external IP address to port 22 get forwarded to the internal ip port 22.

    You need to make sure your internal host is not using dhcp so is at the same 192.x IP address.


  • Registered Users, Registered Users 2 Posts: 689 ✭✭✭stylie


    When I am inside the LAN I would like to the router to translate the global IP 88.?? to a local IP 192.??.
    I have no issue connecting and port forwarding from outside, its inside the LAN that I want to still use the global IP yet the address mapping doesnt do it with the f1000.


  • Registered Users, Registered Users 2 Posts: 10,906 ✭✭✭✭28064212


    It's probably not do-able at router level with that router. What's your device? A hosts file editor would allow you to use a domain name that you could switch on and off

    Boardsie Enhancement Suite - a browser extension to make using Boards on desktop a better experience (includes full-width display, keyboard shortcuts, dark mode, and more). Now available through your browser's extension store.

    Firefox: https://addons.mozilla.org/addon/boardsie-enhancement-suite/

    Chrome/Edge/Opera: https://chromewebstore.google.com/detail/boardsie-enhancement-suit/bbgnmnfagihoohjkofdnofcfmkpdmmce



  • Advertisement
  • Closed Accounts Posts: 3,362 ✭✭✭rolion


    stylie wrote: »
    When I am inside the LAN I would like to the router to translate the global IP 88.?? to a local IP 192.??.
    I have no issue connecting and port forwarding from outside, its inside the LAN that I want to still use the global IP yet the address mapping doesnt do it with the f1000.

    So ...you're inside the LAN with 192.168.x.x private IP range and you want to connect to 88.x.x.x:22 !??
    Why don't you connect to 192.x.x.x:22 from inside !? Why 88.x.x.x ?

    Use DNS or local host file !?


  • Registered Users, Registered Users 2 Posts: 10,906 ✭✭✭✭28064212


    rolion wrote: »
    So ...you're inside the LAN with 192.168.x.x private IP range and you want to connect to 88.x.x.x:22 !??
    Why don't you connect to 192.x.x.x:22 from inside !? Why 88.x.x.x ?

    Use DNS or local host file !?
    It's not that uncommon. Say you're running a webserver locally. It would be much preferable to access it at the same address every time, rather than having to maintain two addresses.

    Boardsie Enhancement Suite - a browser extension to make using Boards on desktop a better experience (includes full-width display, keyboard shortcuts, dark mode, and more). Now available through your browser's extension store.

    Firefox: https://addons.mozilla.org/addon/boardsie-enhancement-suite/

    Chrome/Edge/Opera: https://chromewebstore.google.com/detail/boardsie-enhancement-suit/bbgnmnfagihoohjkofdnofcfmkpdmmce



  • Registered Users, Registered Users 2 Posts: 689 ✭✭✭stylie


    Using XBMC on different roaming clients, I might be able to add sources through some xml files but would prefer to do this at the router level.


  • Registered Users, Registered Users 2 Posts: 6,163 ✭✭✭ZENER




Advertisement