I have machine A (MacOS), and Server B in private network (ubuntu). In etc/host on B I have something like:
192.168.63.123 abc.abc.com
192.168.63.123 abc2.abc2.com
192.168.63.123 abc3.abc3.com
I am trying to see content from 192.168.63.123 abc.abc.com on machine A. What have I tried is:
- I ran ssh tunnel
ssh -g -L 1234:abc.abc.com:80 admin@publicIP
it did not work. - I tried to configure proxy using command:
ssh admin@publicIP -D 1234
and network-settings-page It did not work, while accessing abc.abc.com in browser on A
How to do it?
I have trouble with asking proper question but I think I have described it clearly.