Skip to content

Commit 0373b67

Browse files
authored
Update tutorial-managed-virtual-network-on-premise-sql-server.md
1 parent abfbbc9 commit 0373b67

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

articles/data-factory/tutorial-managed-virtual-network-on-premise-sql-server.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,17 +213,24 @@ the page.
213213
## Creating Forwarding Rule to Endpoint
214214

215215
1. Login and copy script [ip_fwd.sh](https://github.com/sajitsasi/az-ip-fwd/blob/main/ip_fwd.sh) to your backend server VMs.
216-
2. Run the script on with the following options:<br/>
217-
**sudo ./ip_fwd.sh -i eth0 -f 1433 -a <FQDN/IP> -b 1433**<br/>
218-
<FQDN/IP> is your target SQL Server IP.<br/>
216+
217+
2. Run the script with the following options:
218+
219+
```bash
220+
sudo ./ip_fwd.sh -i eth0 -f 1433 -a <FQDN/IP> -b 1433
221+
```
222+
Set the placeholder `<FQDN/IP>` is your target SQL Server IP.
219223

220224
> [!NOTE]
221225
> FQDN doesn't work for on-premises SQL Server unless you add a record in Azure DNS zone.
222226
223-
3. Run below command and check the iptables in your backend server VMs. You can see one record in your iptables with your target IP.<br/>
224-
**sudo iptables -t nat -v -L PREROUTING -n --line-number**
227+
4. Run the following command and check the iptables in your backend server VMs. You can see one record in your iptables with your target IP.<br/>
228+
229+
```bash
230+
sudo iptables -t nat -v -L PREROUTING -n --line-number**
231+
```
225232
226-
:::image type="content" source="./media/tutorial-managed-virtual-network/command-record-1.png" alt-text="Screenshot that shows the command record.":::
233+
:::image type="content" source="./media/tutorial-managed-virtual-network/command-record-1.png" alt-text="Screenshot that shows the command record.":::
227234
228235
> [!NOTE]
229236
> If you have more than one SQL Server or data sources, you need to define multiple load balancer rules and IP table records with different ports. Otherwise, there will be some conflict. For example,<br/>

0 commit comments

Comments
 (0)