Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9252411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:56:19+00:00 2026-06-18T10:56:19+00:00

I have small local network with 5 computers. My provider gave me real ip

  • 0

I have small local network with 5 computers. My provider gave me real ip address (194.187…), but computers in the network cannot see it. So I have to make redirect on my router (with linux system), which will redirect real ip address (194.187…) to ip address which I have in provider’s network (10.12.205.26).

How can I perform this with iptables on my router. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:56:20+00:00Added an answer on June 18, 2026 at 10:56 am

    I Hope this works for you :

       Add (prerouting,postrouting) rules in you NAT table using
    
    iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source ip_address
    iptables -t nat -A PREROUTING -i eth0 -j DNAT --to-destination ip_address
    
        and then use :
    
        iptables -t nat -A PREROUTING -d 194.187... -j DNAT --to-destination 10.12.205.26
    
        iptables -t nat -A POSTROUTING -s 10.12.205.26 -j SNAT --to-source 194.187...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small local network. Only one of the machines is available to
I have small query today I happen to see when I typed a website
I am setting up a small local network with 3 laptops. My goal is
I have a small application I created to analyze the network connection. It runs
I have small ajax problem related to cross domain as i see it. On
I have a small server program that accepts connections on a TCP or local
have small problem, and would very much appreciate help :) I should convert byte
I have small question by entity framework 4.1. There is interface of image DTO:
I have small script in bash, which is generating graphs via gnuplot. Everything works
I have small problem with Spring MVC. Basically what I'm trying to do is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.