Community discussions

 
srsipjf
just joined
Topic Author
Posts: 1
Joined: Tue Aug 20, 2019 2:46 pm
Location: Juiz de Fora
Contact:

Simple NAT between networks

Tue Aug 20, 2019 3:13 pm

Dear friends.

I have a v6.44.3 RouterBOARD 750G r3, configured as below:

Comment; Address; Network; Interface

Managing; 192.168.4.12/24; 192.168.4.0; ether3
ExternalLink; 192.168.1.1/24; 192.168.1.0; ether1
Office1; 192.168.17.1/24; 192.168.17.0; ether4
Office2; 192.168.16.1/24; 192.168.16.0; ether2

(Is this information enough?)

There are some users on Office1 and Office2.

Office1: 192.168.16.4 (host1); 192.168.16.48 (host2)...
Office2: 192.168.17.111 (shared printer); 192.168.17.44 (host17); 192.168.17.48 (host47-boss); 192.168.17.13 (guests)...

Office1 has a shared/lan printer: 192.168.17.111
We need that some Office2 user reaches the 192.168.17.111 printer.

It's possible to allow Office2 users to use the Office1's printer?

I've tried adding a static entry on ARP list as 192.168.16.111 and creating an NAT to redirect any access from 192.168.16.111 to 192.168.17.111 but didn't work.

Could'you help me?
Thanks!
 
anav
Forum Guru
Forum Guru
Posts: 3113
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada

Re: Simple NAT between networks

Tue Aug 20, 2019 4:51 pm

I would think you would only need a firewall rule one way (forward chain) (subnet of users to specific IP of lan printer).
I'd rather manage rats than software. Follow my advice at your own risk! (Sob & mkx forced me to write that!)
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1790
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: Simple NAT between networks

Tue Aug 20, 2019 10:17 pm

start with posting your config
 
anav
Forum Guru
Forum Guru
Posts: 3113
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada

Re: Simple NAT between networks

Wed Aug 21, 2019 5:25 pm

start with posting your config
Hey thats my line ;-)

/export hide-sensitive file=yourconfigaug21
I'd rather manage rats than software. Follow my advice at your own risk! (Sob & mkx forced me to write that!)
 
User avatar
AlainCasault
Trainer
Trainer
Posts: 624
Joined: Fri Apr 30, 2010 3:25 pm
Location: Laval, QC, Canada
Contact:

Re: Simple NAT between networks

Wed Aug 21, 2019 5:31 pm

Hello

If all of this is on the same router, why would you need anything firewall wise to make it work?

Ali subnets are reachable by default unless you have something blocking traffic.

So yes, as suggested, post your config please

Regards,


Sent from my cell phone. Sorry for the errors.

___________________________
Alain Casault, Eng.
If I helped you, let me know!
 
User avatar
Steveocee
Forum Guru
Forum Guru
Posts: 1110
Joined: Tue Jul 21, 2015 10:09 pm
Location: UK
Contact:

Re: Simple NAT between networks

Thu Aug 22, 2019 6:22 pm

I would think you would only need a firewall rule one way (forward chain) (subnet of users to specific IP of lan printer).
Not needed. Default action is to allow anyway.

@OP Can you ping the printer from the "other" office? If all computers are using the MT as the gateway the default action should be "is the IP on my LAN? >no< Then go to the gateway" at this point the MT should be routing you to the printer.
Steve "Steveocee" Carter
PC Gamer, Airsofter, MikroTik Nerd
My Website - My MikroTik Tutorials

Who is online

Users browsing this forum: No registered users and 23 guests