FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
478 views 1 comments
by

Hello Experts,

I am really hoping someone can help me.

I need to retain the source IP address of a client on the RUT240 client device.

1 Answer

0 votes
by anonymous
Generic answer: if you want to retain the source IP address of a client, then you must avoid any network address translation (NAT) in the network. With what you describe, you're probably doing NAT on the Debian OpenVPN server.

Please note that if you stop doing NAT on that server, your clients may be able to reach your VOIP Server using their original IP addresses, but you have to make sure that the VOIP Server can also reach the clients. So you'll need to make sure that all relevant hops know that to reach the 10.16.19/0/24 subnet, the traffic needs to be routed to the OpenVPN server which in turn needs to route it through the correct tunnel.
Best answer
by
Hi!

Yes, you were correct!

I removed the NAT from the Debian Server and restarted it, I already had all the routes in place - and eventually it all started to work.

Thanks for your quick reply. I hope this helps someone else.

Many thanks