Good evening,
Let me describe my setup first.
I got server (Let's called C) which connects to two other offices via OpenVPN (traffic is routed not NATed).
It is required of me to setup server in a way that traffic designated to office A goes via TunA and traffic for office B goes via Tun B. And this is not an issue.
My issues is that my server can only be allowed to connect to public IPs of server A (office A) and server B (office B) so traffic generated by DNS or NTP on Server C may travel to Internet via link to office A , Tun A.
None of requests generated by server C can go to internet directly.
As I don't have much expireince with pf I ask for help , please?
Please accept my writing . English is not my native language.
Kind regards
Greg
Let me describe my setup first.
I got server (Let's called C) which connects to two other offices via OpenVPN (traffic is routed not NATed).
It is required of me to setup server in a way that traffic designated to office A goes via TunA and traffic for office B goes via Tun B. And this is not an issue.
My issues is that my server can only be allowed to connect to public IPs of server A (office A) and server B (office B) so traffic generated by DNS or NTP on Server C may travel to Internet via link to office A , Tun A.
None of requests generated by server C can go to internet directly.
As I don't have much expireince with pf I ask for help , please?
Please accept my writing . English is not my native language.
Kind regards
Greg