I have the following diagram, and I want that R2 and each client connected with R2 have access to the internet. For that I configured NAT in R1 with the following commands:
#set nat source rule 10 outbound-interface eth0
#set nat source rule 10 source address 10.0.0.0/30
#set nat source rule 10 translation address masquerade
#commit
#save
I'm able to ping the internet from R1, but I can not from R2 or from any of the clients. However if I powered off R2, and in its place plugin a client directly to the R1 eth1 interface, the client can ping the internet. Can you help me? What kind of configuration should I do in R2? Thanks.